Fixed https proxy issue by installing 'full' wget in alpine-based build stage

This commit is contained in:
Izabella Raulin 2020-08-20 14:23:15 +02:00
parent 7ec518001e
commit c3549ef606

View File

@ -1,6 +1,6 @@
FROM alpine:3.12 AS build
RUN apk --no-cache add libc6-compat device-mapper findutils zfs build-base linux-headers go bash git && \
RUN apk --no-cache add libc6-compat device-mapper findutils zfs build-base linux-headers go bash git wget && \
apk --no-cache add thin-provisioning-tools --repository http://dl-3.alpinelinux.org/alpine/edge/main/ && \
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \
rm -rf /var/cache/apk/*