Skip to content

Commit

Permalink
Merge pull request #34 from niemasd/master
Browse files Browse the repository at this point in the history
Create devcontainer.json
  • Loading branch information
stevenweaver authored Nov 17, 2023
2 parents 2afe794 + 3d8be03 commit b5d0c55
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
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

0 comments on commit b5d0c55

Please sign in to comment.