Skip to content
Snippets Groups Projects
Commit 5187cc92 authored by nimrod's avatar nimrod
Browse files

Go back to using ADD instead of wget.

I don't know why, but with wget `tar` fails in Docker Hub.
parent 0d81662d
No related branches found
No related tags found
No related merge requests found
Pipeline #245 passed
......@@ -15,13 +15,14 @@ RUN apk add --update --no-cache \
;
ARG Version
ENV VERSION="$Version"
RUN wget "https://github.com/varnish/hitch/archive/${VERSION}.tar.gz" && \
tar --no-same-owner --no-same-permissions -xzf "${VERSION}.tar.gz"
# hadolint ignore=DL3020
ADD "https://hitch-tls.org/source/hitch-${VERSION}.tar.gz" /
RUN tar -xzf "${VERSION}.tar.gz"
WORKDIR /hitch-$Version
RUN ./bootstrap && \
make && \
make install
RUN make check
make install && \
make check
FROM alpine:$AlpineVersion
# hadolint ignore=DL3018
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment