-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2296a89
commit c4f31c7
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/staticcheck@2022.1 | ||
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 |