Changed up Dockerfile optimisation

main
Jef Roosens 2022-01-15 11:16:09 +01:00
parent 964fefc7ee
commit 759dfa6b08
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ COPY src ./src
COPY Makefile ./
ENV LDFLAGS='-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static'
RUN make prod
RUN v -o pvieter -clags "-O3" src
FROM alpine:3.15

View File

@ -8,7 +8,7 @@ LARCHIVE_LIB := $(LARCHIVE_DIR)/libarchive/libarchive.so
# Custom V command for linking libarchive
# V := LDFLAGS=$(PWD)/$(LARCHIVE_LIB) v -cflags '-I$(PWD)/$(LARCHIVE_DIR) -I $(PWD)/$(LARCHIVE_DIR)'
V := v
V := v -showcc
all: vieter