There was an error while loading. Please reload this page.
1 parent af3660c commit 3642f07Copy full SHA for 3642f07
1 file changed
{{cookiecutter.repository_name}}/docker/Dockerfile
@@ -1,19 +1,15 @@
1
-ARG REPO_BRANCH="main"
2
-
3
# We choose ubuntu 22.04 as our base docker image
4
-FROM ubuntu:22.04 as base
+FROM ubuntu:22.04
5
6
-# Expose arg
7
-ARG REPO_BRANCH
+ARG REPO_BRANCH="main"
+ENV DEB_PYTHON_INSTALL_LAYOUT=deb_system
8
9
# Install pip and git with apt
10
RUN apt-get update && \
11
apt-get install -y python3-pip git
12
13
# We upgrade pip and setuptools
14
-# We remove the version of setuptools install via apt, as it is outdated
15
RUN python3 -m pip install pip setuptools --upgrade
16
-RUN apt-get purge -y python3-setuptools
17
18
19
# We set the working directory to install docker dependencies
0 commit comments