Skip to content

Commit e7abad9

Browse files
committed
asavsdfdssdfljdadsdad
1 parent ed1ef06 commit e7abad9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/vulnerability.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,16 @@ jobs:
7373
# - name: Harden-Runner
7474
# uses: step-security/[email protected]
7575

76-
- name: Build Docker image
76+
- name: Set image name
7777
# yamllint disable rule:line-length
7878
run: |
7979
IMAGE_NAME="$(basename '${{ matrix.dockerfile }}' | sed 's/.Dockerfile//'):${{github.sha}}"
80-
docker build -t $IMAGE_NAME -f ${{ matrix.dockerfile }} .
8180
echo "IMAGE_NAME=$IMAGE_NAME" >> $GITHUB_ENV
8281
# yamllint enable rule:line-length
8382

83+
- name: Build Docker image
84+
run: docker build -t ${{env.IMAGE_NAME}} -f ${{ matrix.dockerfile }} .
85+
8486
- name: Run Trivy vulnerability scanner
8587
uses: aquasecurity/[email protected]
8688
with:

jupyterhub/hub/hub.Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ RUN apt-get update && apt-get install -y curl \
66

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

1112
WORKDIR /srv/jupyterhub

0 commit comments

Comments
 (0)