-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workaround for clamav base image problem
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/Dockerfile b/Dockerfile | ||
index 09295a22..f2e48bdd 100644 | ||
--- a/Dockerfile | ||
+++ b/Dockerfile | ||
@@ -62,7 +62,7 @@ SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"] | ||
# which would require an extra memory of 500MB+ during an image build. | ||
# When using `COPY --link`, the `--chown` option is only compatible with numeric ID values. | ||
# hadolint ignore=DL3021 | ||
-COPY --link --chown=200 --from=docker.io/clamav/clamav:latest /var/lib/clamav /var/lib/clamav | ||
+COPY --link --chown=200 --from=docker.io/clamav/clamav-debian:latest /var/lib/clamav /var/lib/clamav | ||
|
||
RUN <<EOF | ||
# `COPY --link --chown=200` has a bug when built by the buildx docker-container driver. |