Skip to content

Instantly share code, notes, and snippets.

@aneury1
Last active August 6, 2020 12:26
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 aneury1/134badee725cef89c2756f7661e6c8d8 to your computer and use it in GitHub Desktop.
Save aneury1/134badee725cef89c2756f7661e6c8d8 to your computer and use it in GitHub Desktop.
FROM gcc:7.3.0
RUN apt-get -qq update
RUN apt-get -qq upgrade
RUN apt-get -qq install cmake
RUN apt-get -qq install libboost-all-dev=1.62.0.1
RUN apt-get -qq install build-essential libtcmalloc-minimal4 && \
ln -s /usr/lib/libtcmalloc_minimal.so.4 /usr/lib/libtcmalloc_minimal.so
#docker build -t <IMG_NAME> .
# running docker in a specific directory of your host machine.
# and with bash shell as interactive with it command-param.
# docker urn -v <HOST_PATH>:<CONTAINER_PATH> it PROJECT_NAME:latest bash
@aneury1
Copy link
Author

aneury1 commented Aug 6, 2020

add console.build

@aneury1
Copy link
Author

aneury1 commented Aug 6, 2020

add sub-command to run the container with interactive mode with mapped volume path.

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