-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from niemasd/master
Create devcontainer.json
- Loading branch information
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"build": { | ||
"dockerfile": "../Dockerfile" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# Docker image for tn93 | ||
FROM ubuntu:20.04 | ||
# Docker image for a tn93 development environment | ||
FROM oraclelinux:8 | ||
|
||
# Set up environment and install dependencies | ||
RUN apt-get update && apt-get -y upgrade && \ | ||
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y cmake g++ git make | ||
RUN yum -y update && \ | ||
yum install -y cmake gcc-c++ git make | ||
|
||
# To compile tn93 within the development environment: | ||
# cmake . | ||
# make |