diff --git a/Dockerfile b/Dockerfile index 54a11ac..c2aa402 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,12 +3,6 @@ FROM golang:1.9 # required to force cgo (for sqlite driver) with cross compile ENV CGO_ENABLED 1 -# i386 cross compilation -RUN dpkg --add-architecture i386 && \ - apt-get update && \ - apt-get install -y libc6-dev-i386 && \ - rm -rf /var/lib/apt/lists/* - # development dependencies RUN go get \ github.com/golang/lint/golint \ diff --git a/Makefile b/Makefile index 40bb818..83b1896 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,6 @@ test: $(DC) run dbmate go test -v $(PACKAGES) build: clean - $(DC) run -e GOARCH=386 dbmate go build $(BUILD_FLAGS) -o dist/dbmate-linux-i386 ./cmd/dbmate $(DC) run -e GOARCH=amd64 dbmate go build $(BUILD_FLAGS) -o dist/dbmate-linux-amd64 ./cmd/dbmate # musl target does not support sqlite $(DC) run -e GOARCH=amd64 -e CGO_ENABLED=0 dbmate go build $(BUILD_FLAGS) -o dist/dbmate-linux-musl-amd64 ./cmd/dbmate