Skip to content

Commit

Permalink
fix: pin version of tools (#31)
Browse files Browse the repository at this point in the history
Make sure that the version of clamav an yara are pinned to avoid
compatibility issues.
  • Loading branch information
chrisgacsal authored Feb 22, 2024
1 parent c22c09c commit 6b5d1a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# syntax=docker/dockerfile:1
# syntax=docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021

# Download gitleaks
FROM --platform=$BUILDPLATFORM alpine:3.19@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b AS gitleaks
Expand Down Expand Up @@ -88,8 +88,8 @@ FROM alpine:3.19@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761
WORKDIR /opt

RUN apk upgrade --no-cache --quiet
RUN apk add --no-cache clamav
RUN apk add --no-cache yara --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
RUN apk add --no-cache clamav=1.2.2-r0
RUN apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community yara=4.5.0-r0
RUN apk add --no-cache openssh
RUN apk add --no-cache git # required by gitleaks
RUN apk add --no-cache grep # required by lynis
Expand Down

0 comments on commit 6b5d1a5

Please sign in to comment.