Skip to content

Commit

Permalink
Symlink the new AV path to avoid breakages.
Browse files Browse the repository at this point in the history
  • Loading branch information
dj-maisy committed Jun 19, 2024
1 parent 2a00d90 commit ab50f47
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,16 @@ RUN apt update && apt-get install -y libbz2-1.0 \
WORKDIR $APP_HOME

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

RUN ln -s /usr/bin/clamav-config /usr/local/bin/clamav-config && \
ln -s /usr/bin/clambc /usr/local/bin/clambc && \
ln -s /usr/bin/clamconf /usr/local/bin/clamconf && \
ln -s /usr/bin/clamdscan /usr/local/bin/clamdscan && \
ln -s /usr/bin/clamdtop /usr/local/bin/clamdtop && \
ln -s /usr/bin/clamscan /usr/local/bin/clamscan && \
ln -s /usr/bin/clamsubmit /usr/local/bin/clamsubmit && \
chmod 0755 /usr/local/bin/clam*

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 ab50f47

Please sign in to comment.