Skip to content

Commit

Permalink
Merge pull request #1408 from alphagov/dj-maisy/clamav-bin-symlink
Browse files Browse the repository at this point in the history
Symlink the new AV path to avoid breakages.
  • Loading branch information
dj-maisy committed Jun 19, 2024
2 parents 2a00d90 + 520ac09 commit 756796d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ RUN apt update && apt-get install -y libbz2-1.0 \
WORKDIR $APP_HOME

COPY --from=clam_builder "/clamav" "/"

RUN ln -s /usr/bin/clam* /usr/local/bin

COPY --from=app_builder $BUNDLE_PATH $BUNDLE_PATH
COPY --from=app_builder $BOOTSNAP_CACHE_DIR $BOOTSNAP_CACHE_DIR
COPY --from=app_builder $APP_HOME .
Expand Down

0 comments on commit 756796d

Please sign in to comment.