File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
- FROM golang:1.12.9
1
+ FROM golang:1.13.3-alpine
2
2
3
3
# prepare to install git-lfs
4
- RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
4
+ RUN apk add --no-cache curl \
5
+ && curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
5
6
6
7
# install
7
- RUN apt-get update && apt-get install -y \
8
+ RUN apk add --no-cache \
8
9
libmecab2 \
9
10
libmecab-dev \
10
11
mecab \
@@ -13,14 +14,12 @@ RUN apt-get update && apt-get install -y \
13
14
awscli \
14
15
ca-certificates \
15
16
git-lfs \
16
- protobuf-compiler \
17
- && apt-get clean \
18
- && rm -rf /var/lib/apt/lists/*
17
+ protobuf-compiler
19
18
20
19
RUN update-ca-certificates
21
20
22
21
# install gcloud command
23
- ENV CLOUD_SDK_URL https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-253 .0.0-linux-x86_64.tar.gz
22
+ ENV CLOUD_SDK_URL https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-268 .0.0-linux-x86_64.tar.gz
24
23
ENV PATH $PATH:/google-cloud-sdk/bin
25
24
RUN curl -o google-cloud-sdk.tar.gz ${CLOUD_SDK_URL} \
26
25
&& tar zxf google-cloud-sdk.tar.gz \
Original file line number Diff line number Diff line change 7
7
- protocol buffers
8
8
- go tools
9
9
- github.com/golang/dep
10
+ - github.com/golang/protobuf/protoc-gen-go
10
11
- github.com/golangci/golangci-lint
11
12
- github.com/haya14busa/gosum/cmd/gosumcheck
12
13
- golang.org/x/tools/cmd/stringer
Original file line number Diff line number Diff line change 8
8
disable :
9
9
- gochecknoglobals
10
10
- gochecknoinits
11
+ - godox
11
12
- lll
12
13
13
14
linters-settings :
You can’t perform that action at this time.
0 commit comments