Skip to content

Instantly share code, notes, and snippets.

@SteffenL
Created February 9, 2020 09:07
Show Gist options
  • Save SteffenL/e9b6cbb14261f904e95c30ee74400ad4 to your computer and use it in GitHub Desktop.
Save SteffenL/e9b6cbb14261f904e95c30ee74400ad4 to your computer and use it in GitHub Desktop.
Conan Server Dockerfile
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