Skip to content

Commit 1e26f04

Browse files
authored
install packages with noteable user (#26)
install packages with noteable user
1 parent d99cebc commit 1e26f04

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/noteable/3.10/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ RUN apt-get update -y && \
2323
COPY Aptfile .
2424
RUN /usr/bin/apt-install Aptfile
2525

26+
USER noteable
27+
2628
COPY requirements.txt /tmp/noteable_requirements.txt
2729
RUN pip install --no-cache-dir -r /tmp/noteable_requirements.txt
2830

@@ -35,8 +37,6 @@ COPY ipython_config.py /etc/ipython
3537
COPY git_credential_helper.py /git_credential_helper.py
3638
COPY git-wrapper.sh /usr/local/bin/git
3739

38-
USER noteable
39-
4040
# hadolint ignore=DL3006
4141
FROM main as gpu
4242

python/noteable/3.9/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ RUN apt-get update -y && \
2323
COPY Aptfile .
2424
RUN /usr/bin/apt-install Aptfile
2525

26+
USER noteable
27+
2628
COPY requirements.txt /tmp/noteable_requirements.txt
2729
RUN pip install --no-cache-dir -r /tmp/noteable_requirements.txt
2830

@@ -35,8 +37,6 @@ COPY ipython_config.py /etc/ipython
3537
COPY git_credential_helper.py /git_credential_helper.py
3638
COPY git-wrapper.sh /usr/local/bin/git
3739

38-
USER noteable
39-
4040
# hadolint ignore=DL3006
4141
FROM main as gpu
4242

0 commit comments

Comments
 (0)