Skip to content

Commit

Permalink
Merge pull request #40 from PeterDaveHelloKitchen/Dockerfile
Browse files Browse the repository at this point in the history
Refactor/Update Dockerfile
  • Loading branch information
mrtazz authored Aug 17, 2023
2 parents 717134f + b4e3896 commit 849025d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ FROM golang:1.13 as builder

ARG BUILDER_NAME BUILDER_EMAIL

ENV GOOS=linux GOARCH=amd64 CGO_ENABLED=0
COPY . /go/src/github.com/mrtazz/checkmake

RUN cd /go/src/github.com/mrtazz/checkmake && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 make binaries
RUN cd /go/src/github.com/mrtazz/checkmake && make test
WORKDIR /go/src/github.com/mrtazz/checkmake
RUN make binaries
RUN make test

FROM alpine:3.9
FROM alpine:3.11
RUN apk add make
USER nobody

Expand Down

0 comments on commit 849025d

Please sign in to comment.