Skip to content

Instantly share code, notes, and snippets.

@kwannoel
Created April 13, 2022 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kwannoel/834290de014e854e94f4a6b59d4ea10e to your computer and use it in GitHub Desktop.
Save kwannoel/834290de014e854e94f4a6b59d4ea10e to your computer and use it in GitHub Desktop.
Ubuntu dockerfile
#Create ubuntu as base image
FROM ubuntu
#Install packages
RUN apt-get -y update
RUN apt-get -y install python3
RUN apt-get -y install gdb
RUN apt-get -y install gcc
@kwannoel
Copy link
Author

kwannoel commented Apr 13, 2022

Build instructions

docker build -t <name> .
docker run -it --name <name> --mount type=bind,source=$PWD,target=/app <name>

Cleanup


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment