From ce1e46e2d60f7822a932d6194887da16952ae203 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sat, 15 Jan 2022 10:36:23 +0100 Subject: [PATCH] Changed to ENV call --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4ca6c87..e24f909 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,9 @@ WORKDIR /app # Copy over source code & build production binary COPY src ./src 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