mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-08 10:45:04 +02:00
Fix docker build
This commit is contained in:
parent
40fe09b15e
commit
38f5b697bf
@ -56,11 +56,11 @@ RUN cd /root \
|
||||
--enable-silent-rules \
|
||||
&& make install-strip
|
||||
|
||||
ADD . /go/src/github.com/imgproxy/imgproxy
|
||||
WORKDIR /go/src/github.com/imgproxy/imgproxy
|
||||
ADD . /app
|
||||
WORKDIR /app
|
||||
|
||||
# Build imgproxy
|
||||
RUN cd /go/src/github.com/imgproxy/imgproxy \
|
||||
RUN cd /app \
|
||||
&& CGO_LDFLAGS_ALLOW="-s|-w" go build -v -o /usr/local/bin/imgproxy
|
||||
|
||||
# Copy compiled libs here to copy them to the final image
|
||||
|
Loading…
Reference in New Issue
Block a user