Changed to ENV call
ci/woodpecker/push/builder unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/build_arm64 Pipeline was successful Details
ci/woodpecker/push/publish Pipeline failed Details

pull/32/head
Jef Roosens 2022-01-15 10:36:23 +01:00
parent 72699725d0
commit ce1e46e2d6
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 3 additions and 2 deletions

View File

@ -5,8 +5,9 @@ WORKDIR /app
# Copy over source code & build production binary # Copy over source code & build production binary
COPY src ./src COPY src ./src
COPY Makefile ./ COPY Makefile ./
RUN LDFLAGS='-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static' \
make prod ENV LDFLAGS='-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static'
RUN make prod
FROM alpine:3.15 FROM alpine:3.15