File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -47,13 +47,6 @@ RUN go get -u -v -ldflags '-w -s' \
47
47
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway && \
48
48
install -c /go/bin/* ${DESTDIR}/usr/bin/
49
49
50
- ENV UPX_VERSION=96433b4e39f230c935cb35e6e9125c1aec3ae29f
51
- RUN git clone --depth 1 --recursive -b devel https://github.com/upx/upx.git /upx
52
- RUN apk add --no-cache ucl-dev
53
- RUN cd /upx && \
54
- make -j2 all
55
- RUN mv /upx/src/upx.out /out/upx
56
-
57
50
58
51
FROM swiftdocker/swift:3.1.1 as swift_builder
59
52
RUN apt-get update && \
@@ -77,10 +70,9 @@ RUN find /protoc-gen-swift/ -name 'lib*.so*' -exec patchelf --set-rpath /protoc-
77
70
done
78
71
79
72
80
- FROM alpine:3.6 as packer
81
- RUN apk add --no-cache libstdc++ ucl
73
+ FROM znly/upx as packer
82
74
COPY --from=protoc_builder /out/ /out/
83
- RUN /out/ upx --lzma \
75
+ RUN upx --lzma \
84
76
/out/usr/bin/* \
85
77
/out/usr/local/bin/*
86
78
RUN rm -rf \
You can’t perform that action at this time.
0 commit comments