diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..c588b7b --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,5 @@ +{ + "build": { + "dockerfile": "../Dockerfile" + } +} diff --git a/Dockerfile b/Dockerfile index 4a23c44..094bf7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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