Skip to content

Commit

Permalink
Switch to Alpine for CI build.
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenhombre committed Apr 22, 2023
1 parent 2296a89 commit c4f31c7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
FROM golang:1.18
FROM golang:1.19-alpine3.16

RUN apt-get -qq -y update
RUN apt-get -qq -y upgrade

RUN apt-get install -qq -y make python
RUN apk add make python3 bash

WORKDIR /work
RUN go install honnef.co/go/tools/cmd/[email protected]
RUN go install -v golang.org/x/lint/golint@latest
COPY . .

RUN chmod +x l1c
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN make clean verbose

0 comments on commit c4f31c7

Please sign in to comment.