Skip to content

Commit

Permalink
Specify the certificate location for wget tool (#633)
Browse files Browse the repository at this point in the history
Signed-off-by: Taras Drozdovskyi <t.drozdovsky@samsung.com>
  • Loading branch information
tdrozdovsky committed Oct 4, 2022
1 parent 493fecb commit 5ed2d9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/defdockerfiles/ubuntu_multistage
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM --platform=$TARGETPLATFORM ubuntu:20.04 AS builder

# environment variables
ARG TARGETPLATFORM
ENV GOVERSION=1.19
ENV GOVERSION=1.19.1
ENV GOPATH=/usr/local/go
ENV TARGET_DIR=/edge-orchestration

Expand Down
2 changes: 1 addition & 1 deletion script/install-golang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ elif [ $TARGETPLATFORM = "linux/arm/v7" ]; then
arch="armv6l"
fi

wget https://golang.org/dl/go$GOVERSION.linux-$arch.tar.gz && \
wget --ca-certificate=/etc/ssl/certs/ca-certificates.crt https://golang.org/dl/go$GOVERSION.linux-$arch.tar.gz && \
tar -C /usr/local -xzf go$GOVERSION.linux-$arch.tar.gz && \
ln -s $GOPATH/bin/go /usr/bin/

0 comments on commit 5ed2d9d

Please sign in to comment.