Skip to content

Commit

Permalink
Revert to installing yq via pip.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmachine committed Apr 1, 2021
1 parent 65540eb commit d364e1f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# syntax = docker/dockerfile:experimental

# Dockerize releases use a different label for arm64 than ${TARGETARCH}, so we need to
# explicitly set ${DOCKERIZE_ARCH} in a base image for each platform.

Expand All @@ -16,14 +18,16 @@ RUN apk update \
bash \
jq \
nginx \
py3-pip \
tini \
yq \
&& rm -rf /var/cache/apk/*

# Do NOT use dockerize 0.6.1 due to https://github.com/jwilder/dockerize/issues/125
ENV DOCKERIZE_VERSION=0.6.0
RUN wget -nv -O - "https://github.com/jwilder/dockerize/releases/download/v${DOCKERIZE_VERSION}/dockerize-linux-${DOCKERIZE_ARCH}-v${DOCKERIZE_VERSION}.tar.gz" | tar -xz -C /usr/local/bin/ -f -

RUN --mount=type=cache,id=nginx-proxy-redirect,target=/root/.cache/pip pip install --no-cache-dir yq

ENV PATH="/opt/nginx-proxy-redirect/bin:$PATH"

EXPOSE 80
Expand Down

0 comments on commit d364e1f

Please sign in to comment.