Skip to content

Commit

Permalink
Disabled CGO for real this time?
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Dines committed Apr 19, 2018
1 parent 2086942 commit 7231291
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ FROM alpine:latest

COPY bin/forge /usr/bin/forge

# Fix for musl vs glibc library availability on Alpine Linux
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2

RUN mkdir /workdir
WORKDIR /workdir

Expand Down
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
.PHONY: test clean deps lint gofmt govet godiff coverage

CGO_ENABLED = 0

bin/forge:
go build -o bin/forge
CGO_ENABLED=0 go build -o bin/forge

test:
@cd forgelib && \
Expand Down

0 comments on commit 7231291

Please sign in to comment.