Skip to content

Commit

Permalink
Fix Dockerfile (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
witomlin authored Nov 29, 2024
1 parent 00ac9e3 commit 33937e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
# limitations under the License.

FROM --platform=$BUILDPLATFORM golang:1.22.9 AS build
ARG BUILDPLATFORM
ARG TARGETPLATFORM
ARG TARGETOS
ARG TARGETARCH
RUN echo "Build platform: $BUILDPLATFORM, target platform: $TARGETPLATFORM, target OS: $TARGETOS, target arch: $TARGETARCH"
RUN openssl s_client -showcerts -connect proxy.golang.org:443 </dev/null 2>/dev/null|openssl x509 -outform PEM > /usr/local/share/ca-certificates/goproxy.crt
RUN update-ca-certificates
Expand Down

0 comments on commit 33937e2

Please sign in to comment.