You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 4, 2021. It is now read-only.
Describe the bug
When installing OpenSSL in alpine phase two (FROM centos:7) gives x509: certificate signed by unknown authority error for example centos
cat Dockerfile
FROM alpine:3.9.5 AS test
RUN apk update && apk add ca-certificates
RUN apk add --no-cache openssl
#TO DO
FROM centos:7
Install
RUN
yum install -y haproxy && \
#use TO DO here
"msg":"failed to execute build plan: execute stage: build stage 1: build node: do execute: execute step: get manifest: pull image index.docker.io/library/centos:7: pull manifest: get security opt: basic auth: ping v2 registry: network error: Get https://index.docker.io/v2/: x509: certificate signed by unknown authority"}
I tried after #TO DO but no chance in the alpine phase.
RUN apk del ca-certificates
RUN apk del openssl
RUN apk update && apk add ca-certificates
RUN update-ca-certificates
The text was updated successfully, but these errors were encountered: