Last active
August 6, 2020 12:26
-
-
Save aneury1/134badee725cef89c2756f7661e6c8d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
add console.build