chore: download wait-for from release
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
59fe3ab762
commit
c51a29538f
@ -19,6 +19,8 @@ ENV GOMPLATE_VERSION="${GOMPLATE_VERSION:-v3.9.0}"
|
|||||||
ENV SUPERCRONIC_VERSION="${SUPERCRONIC_VERSION:-v0.1.12}"
|
ENV SUPERCRONIC_VERSION="${SUPERCRONIC_VERSION:-v0.1.12}"
|
||||||
# renovate: datasource=github-releases depName=thegeeklab/url-parser
|
# renovate: datasource=github-releases depName=thegeeklab/url-parser
|
||||||
ENV URL_PARSER_VERSION="${URL_PARSER_VERSION:-v0.2.1}"
|
ENV URL_PARSER_VERSION="${URL_PARSER_VERSION:-v0.2.1}"
|
||||||
|
# renovate: datasource=github-releases depName=thegeeklab/wait-for
|
||||||
|
ENV WAIT_FOR_VERSION="${WAIT_FOR_VERSION:-v0.1.0}"
|
||||||
|
|
||||||
RUN addgroup -g 101 -S app && \
|
RUN addgroup -g 101 -S app && \
|
||||||
adduser -S -D -H -u 101 -h /app -s /sbin/nologin -G app -g app app && \
|
adduser -S -D -H -u 101 -h /app -s /sbin/nologin -G app -g app app && \
|
||||||
@ -26,7 +28,7 @@ RUN addgroup -g 101 -S app && \
|
|||||||
curl -SsL -o /usr/local/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_linux-amd64-slim" && \
|
curl -SsL -o /usr/local/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_linux-amd64-slim" && \
|
||||||
curl -SsL -o /usr/local/bin/supercronic "https://github.com/aptible/supercronic/releases/download/${SUPERCRONIC_VERSION}/supercronic-linux-amd64" && \
|
curl -SsL -o /usr/local/bin/supercronic "https://github.com/aptible/supercronic/releases/download/${SUPERCRONIC_VERSION}/supercronic-linux-amd64" && \
|
||||||
curl -SsL -o /usr/local/bin/url-parser "https://github.com/thegeeklab/url-parser/releases/download/${URL_PARSER_VERSION}/url-parser-linux-amd64" && \
|
curl -SsL -o /usr/local/bin/url-parser "https://github.com/thegeeklab/url-parser/releases/download/${URL_PARSER_VERSION}/url-parser-linux-amd64" && \
|
||||||
curl -SsL -o /usr/local/bin/wait-for "https://raw.githubusercontent.com/thegeeklab/wait-for/master/wait-for" && \
|
curl -SsL -o /usr/local/bin/wait-for "https://github.com/thegeeklab/wait-for/releases/download/${WAIT_FOR_VERSION}/wait-for" && \
|
||||||
chmod 755 /usr/local/bin/gomplate && \
|
chmod 755 /usr/local/bin/gomplate && \
|
||||||
chmod 755 /usr/local/bin/supercronic && \
|
chmod 755 /usr/local/bin/supercronic && \
|
||||||
chmod 755 /usr/local/bin/url-parser && \
|
chmod 755 /usr/local/bin/url-parser && \
|
||||||
|
@ -18,6 +18,8 @@ ENV GOMPLATE_VERSION="${GOMPLATE_VERSION:-v3.9.0}"
|
|||||||
ENV SUPERCRONIC_VERSION="${SUPERCRONIC_VERSION:-v0.1.12}"
|
ENV SUPERCRONIC_VERSION="${SUPERCRONIC_VERSION:-v0.1.12}"
|
||||||
# renovate: datasource=github-releases depName=thegeeklab/url-parser
|
# renovate: datasource=github-releases depName=thegeeklab/url-parser
|
||||||
ENV URL_PARSER_VERSION="${URL_PARSER_VERSION:-v0.2.1}"
|
ENV URL_PARSER_VERSION="${URL_PARSER_VERSION:-v0.2.1}"
|
||||||
|
# renovate: datasource=github-releases depName=thegeeklab/wait-for
|
||||||
|
ENV WAIT_FOR_VERSION="${WAIT_FOR_VERSION:-v0.1.0}"
|
||||||
|
|
||||||
RUN addgroup -g 101 -S app && \
|
RUN addgroup -g 101 -S app && \
|
||||||
adduser -S -D -H -u 101 -h /app -s /sbin/nologin -G app -g app app && \
|
adduser -S -D -H -u 101 -h /app -s /sbin/nologin -G app -g app app && \
|
||||||
@ -25,7 +27,7 @@ RUN addgroup -g 101 -S app && \
|
|||||||
curl -SsL -o /usr/local/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_linux-armv7-slim" && \
|
curl -SsL -o /usr/local/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_linux-armv7-slim" && \
|
||||||
curl -SsL -o /usr/local/bin/supercronic "https://github.com/aptible/supercronic/releases/download/${SUPERCRONIC_VERSION}/supercronic-linux-arm" && \
|
curl -SsL -o /usr/local/bin/supercronic "https://github.com/aptible/supercronic/releases/download/${SUPERCRONIC_VERSION}/supercronic-linux-arm" && \
|
||||||
curl -SsL -o /usr/local/bin/url-parser "https://github.com/thegeeklab/url-parser/releases/download/${URL_PARSER_VERSION}/url-parser-linux-arm-7" && \
|
curl -SsL -o /usr/local/bin/url-parser "https://github.com/thegeeklab/url-parser/releases/download/${URL_PARSER_VERSION}/url-parser-linux-arm-7" && \
|
||||||
curl -SsL -o /usr/local/bin/wait-for "https://raw.githubusercontent.com/thegeeklab/wait-for/master/wait-for" && \
|
curl -SsL -o /usr/local/bin/wait-for "https://github.com/thegeeklab/wait-for/releases/download/${WAIT_FOR_VERSION}/wait-for" && \
|
||||||
chmod 755 /usr/local/bin/gomplate && \
|
chmod 755 /usr/local/bin/gomplate && \
|
||||||
chmod 755 /usr/local/bin/supercronic && \
|
chmod 755 /usr/local/bin/supercronic && \
|
||||||
chmod 755 /usr/local/bin/url-parser && \
|
chmod 755 /usr/local/bin/url-parser && \
|
||||||
|
@ -18,6 +18,8 @@ ENV GOMPLATE_VERSION="${GOMPLATE_VERSION:-v3.9.0}"
|
|||||||
ENV SUPERCRONIC_VERSION="${SUPERCRONIC_VERSION:-v0.1.12}"
|
ENV SUPERCRONIC_VERSION="${SUPERCRONIC_VERSION:-v0.1.12}"
|
||||||
# renovate: datasource=github-releases depName=thegeeklab/url-parser
|
# renovate: datasource=github-releases depName=thegeeklab/url-parser
|
||||||
ENV URL_PARSER_VERSION="${URL_PARSER_VERSION:-v0.2.1}"
|
ENV URL_PARSER_VERSION="${URL_PARSER_VERSION:-v0.2.1}"
|
||||||
|
# renovate: datasource=github-releases depName=thegeeklab/wait-for
|
||||||
|
ENV WAIT_FOR_VERSION="${WAIT_FOR_VERSION:-v0.1.0}"
|
||||||
|
|
||||||
RUN addgroup -g 101 -S app && \
|
RUN addgroup -g 101 -S app && \
|
||||||
adduser -S -D -H -u 101 -h /app -s /sbin/nologin -G app -g app app && \
|
adduser -S -D -H -u 101 -h /app -s /sbin/nologin -G app -g app app && \
|
||||||
@ -25,7 +27,7 @@ RUN addgroup -g 101 -S app && \
|
|||||||
curl -SsL -o /usr/local/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_linux-arm64-slim" && \
|
curl -SsL -o /usr/local/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_linux-arm64-slim" && \
|
||||||
curl -SsL -o /usr/local/bin/supercronic "https://github.com/aptible/supercronic/releases/download/${SUPERCRONIC_VERSION}/supercronic-linux-arm64" && \
|
curl -SsL -o /usr/local/bin/supercronic "https://github.com/aptible/supercronic/releases/download/${SUPERCRONIC_VERSION}/supercronic-linux-arm64" && \
|
||||||
curl -SsL -o /usr/local/bin/url-parser "https://github.com/thegeeklab/url-parser/releases/download/${URL_PARSER_VERSION}/url-parser-linux-arm64" && \
|
curl -SsL -o /usr/local/bin/url-parser "https://github.com/thegeeklab/url-parser/releases/download/${URL_PARSER_VERSION}/url-parser-linux-arm64" && \
|
||||||
curl -SsL -o /usr/local/bin/wait-for "https://raw.githubusercontent.com/thegeeklab/wait-for/master/wait-for" && \
|
curl -SsL -o /usr/local/bin/wait-for "https://github.com/thegeeklab/wait-for/releases/download/${WAIT_FOR_VERSION}/wait-for" && \
|
||||||
chmod 755 /usr/local/bin/gomplate && \
|
chmod 755 /usr/local/bin/gomplate && \
|
||||||
chmod 755 /usr/local/bin/supercronic && \
|
chmod 755 /usr/local/bin/supercronic && \
|
||||||
chmod 755 /usr/local/bin/url-parser && \
|
chmod 755 /usr/local/bin/url-parser && \
|
||||||
|
Loading…
Reference in New Issue
Block a user