Skip to content

Commit

Permalink
asavsdfdssdfljdadsdadxzclm
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeAeich committed Jan 16, 2025
1 parent e7abad9 commit 91511f0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
13 changes: 4 additions & 9 deletions jupyterhub/hub/hub.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
FROM quay.io/jupyter/datascience-notebook:2024-12-23

USER root
RUN apt-get update && apt-get install -y curl \
&& rm -rf /var/lib/apt/lists/*
FROM quay.io/jupyterhub/jupyterhub:5.2.1

ENV TINI_VERSION=v0.19.0
RUN curl -L https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini -o /tini \
&& chown root:root /tini \
&& chmod +x /tini
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini

WORKDIR /srv/jupyterhub

ENTRYPOINT ["/tini", "--"]

CMD ["start-notebook.py"]
CMD ["jupyterhub"]
11 changes: 8 additions & 3 deletions jupyterhub/notebook/notebook.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
FROM quay.io/jupyter/datascience-notebook:2024-12-23

USER root

Check warning

Code scanning / Hadolint

Last USER should not be root Warning

Last USER should not be root
RUN apt-get update && apt-get install -y curl \

Check notice

Code scanning / Hadolint

Avoid additional packages by specifying --no-install-recommends Note

Avoid additional packages by specifying --no-install-recommends
&& rm -rf /var/lib/apt/lists/*

ENV TINI_VERSION=v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
RUN curl -L https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini -o /tini \
&& chown root:root /tini \
&& chmod +x /tini

WORKDIR /home/jovyan
WORKDIR /srv/jupyterhub

ENTRYPOINT ["/tini", "--"]

Expand Down

0 comments on commit 91511f0

Please sign in to comment.