Skip to content

Commit

Permalink
temporarily disabling binary compression in dockerfile
Browse files Browse the repository at this point in the history
- upx

(cherry picked from commit 782fc64)
  • Loading branch information
brouillette authored and Paul Pillot committed Aug 23, 2022
1 parent 7a683df commit b91d6f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ COPY . /build/
RUN apk update && \
apk upgrade && \
# For compressing the final binary :
apk add git upx
apk add git
# Temporarily disabling:
# \
# upx

# Install & build samtools from github repos (htslib needed first)
RUN apk --update add ncurses-dev && \
Expand All @@ -42,6 +45,7 @@ RUN apk --update add ncurses-dev && \
# Build gohan api
RUN CGO_ENABLED=0 && \
go build -ldflags="-s -w" -o gohan_api
# Temporarily disabling:
#&& \
# Compress the final binary :
#upx --brute gohan_api
Expand Down

0 comments on commit b91d6f8

Please sign in to comment.