Skip to content

Commit cab90fb

Browse files
authored
fix(go): fix go dockerfile build issues (#182)
Fix go dockerfile build issues (1)(2) update python-openssl to python3-openssl in go116 revise go113, go114, go115 dockerfile commands
1 parent f0708c2 commit cab90fb

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

go/go113/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.c
3131
apt-get install google-cloud-sdk -y
3232

3333
# Install tools used in build
34-
RUN GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck@latest && \
35-
go get github.com/jstemmer/go-junit-report@latest
34+
RUN GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck@latest
35+
RUN GO111MODULE=on go get github.com/jstemmer/go-junit-report@latest
3636

3737
WORKDIR $GOPATH

go/go114/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.c
3131
apt-get install google-cloud-sdk -y
3232

3333
# Install tools used in build
34-
RUN GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck@latest && \
35-
go get github.com/jstemmer/go-junit-report@latest
34+
RUN GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck@latest
35+
RUN GO111MODULE=on go get github.com/jstemmer/go-junit-report@latest
3636

3737
WORKDIR $GOPATH

go/go115/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.c
6262
apt-get install google-cloud-sdk -y
6363

6464
# Install tools used in build
65-
RUN GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck@latest && \
66-
go get github.com/jstemmer/go-junit-report@latest
65+
RUN GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck@latest
66+
RUN GO111MODULE=on go get github.com/jstemmer/go-junit-report@latest
6767

6868
WORKDIR $GOPATH

go/go116/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN set -ex; \
2020
apt-get install -y \
2121
make build-essential libssl-dev zlib1g-dev libbz2-dev \
2222
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
23-
xz-utils tk-dev libffi-dev liblzma-dev python-openssl \
23+
xz-utils tk-dev libffi-dev liblzma-dev python3-openssl \
2424
apt-transport-https ca-certificates gnupg curl gnupg-agent lsb-release software-properties-common \
2525
unzip wget vim; \
2626
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)