RUN apk add --no-cache ca-certificates curl taropenssl
RUN apk add --no-cachelibc6-compat ca-certificates su-exec openssl curl tar
WORKDIR "/opt"
WORKDIR "/opt/louketo"
RUN curl -fssL"https://downloads.jboss.org/keycloak/$KEYCLOAK_VERSION/gatekeeper/$NAME-$GOOS-$GOARCH.tar.gz" | tar-xz&&chmod +x /opt/gatekeeper/$NAME
RUN curl -fssL"https://github.com/louketo/louketo-proxy/releases/download/$LOUKETO_PROXY_VERSION/${NAME}_${LOUKETO_PROXY_VERSION}_${GOOS}_${GOARCH}.tar.gz" | tar-xz--strip-components=1
COPY entrypoint.sh entrypoint.sh
COPY entrypoint.sh /
RUN chown-R louketo:louketo /opt/louketo
RUN mkdir /etc/louketo;chown-R louketo:louketo /etc/louketo