Created
February 9, 2020 09:07
-
-
Save SteffenL/e9b6cbb14261f904e95c30ee74400ad4 to your computer and use it in GitHub Desktop.
Conan Server Dockerfile
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 ubuntu:18.04 | |
RUN apt update && apt upgrade -y && apt install -y python3 python3-pip | |
RUN python3 -m pip install conan | |
RUN groupadd --gid 1000 conan \ | |
&& useradd --create-home --shell /bin/bash --gid conan --uid 1000 conan | |
RUN mkdir /home/conan/.conan_server && chown -R conan:conan /home/conan/.conan_server | |
USER conan | |
WORKDIR /home/conan | |
CMD [ "conan_server" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment