Skip to content

Commit

Permalink
Merge pull request #14 from easy-up/fix-docker-build
Browse files Browse the repository at this point in the history
Corrected typo
  • Loading branch information
Relu808 authored Jan 31, 2025
2 parents df9c383 + 2dd82b6 commit c4d27de
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ ARG ALPINE_VERSION=3.20
# Semgrep build is currently broken on alpine > 3.19
FROM alpine:$ALPINE_VERSION AS build-semgrep-core

ARG OPAM_VERISON=4.14.0
ARG OPAM_VERSION=4.14.0

RUN --mount=type=cache,target=/var/cache/apk apk add bash build-base git make opam libpsl-dev zstd-static

RUN --mount=type=cache,target=/root/.opam opam init --compiler=$OPAM_VERSION --disable-sandboxing --no
RUN --mount=type=cache,target=/root/.opam opam switch $OPAM_VERSION
RUN --mount=type=cache,target=/root/.opam \
opam init --compiler=$OPAM_VERSION --disable-sandboxing --no-setup && \
opam switch create $OPAM_VERSION && \
eval $(opam env)

WORKDIR /src

Expand Down

0 comments on commit c4d27de

Please sign in to comment.