Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create devcontainer.json #34

Merged
merged 13 commits into from
Nov 17, 2023
5 changes: 5 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"build": {
"dockerfile": "../Dockerfile"
}
}
12 changes: 8 additions & 4 deletions Dockerfile
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