Skip to content

Commit

Permalink
Try upgrade expat in image again
Browse files Browse the repository at this point in the history
  • Loading branch information
jerith committed Feb 15, 2022
1 parent 23ad805 commit b5c9ae3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ jobs:
push: ${{github.event_name != 'pull_request'}}
tags: ${{steps.meta.outputs.tags}}
build-args: |
FROM_IMAGE=localhost:5000/local/${{matrix.python}}:${{matrix.version}}${{matrix.version_suffix}}-slim-${{matrix.dist}}
FROM_IMAGE=${{matrix.python}}:${{matrix.version}}${{matrix.version_suffix}}-slim-${{matrix.dist}}
# build-args: |
# FROM_IMAGE=localhost:5000/local/${{matrix.python}}:${{matrix.version}}${{matrix.version_suffix}}-slim-${{matrix.dist}}
- name: Snyk Container Test
continue-on-error: true
uses: snyk/actions/docker@master
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.no-wheelhouse
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ ENV PATH $PATH:/scripts
# Note that gosu/dumb-init are only available from Debian Stretch, tini should
# be available on Buster.
RUN set -xe; \
apt-get-install.sh dumb-init gosu; \
# (Re)install expat to get a newer version
apt-get-install.sh dumb-init gosu expat; \
# Link `gosu` as `su-exec` for compatibility with Alpine Linux
ln -s "$(which gosu)" /usr/local/sbin/su-exec; \
gosu nobody true; \
Expand Down

0 comments on commit b5c9ae3

Please sign in to comment.