mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
use the correct buildkit env for downloading binaries
This commit is contained in:
parent
02369cce66
commit
acb699bf13
1 changed files with 3 additions and 6 deletions
|
@ -98,8 +98,8 @@ FROM ghcr.io/jippi/dottie:${DOTTIE_VERSION} AS dottie-image
|
||||||
# It's in its own layer so it can be fetched in parallel with other build steps
|
# It's in its own layer so it can be fetched in parallel with other build steps
|
||||||
FROM php:${PHP_VERSION}-${PHP_BASE_TYPE}-${PHP_DEBIAN_RELEASE} AS gomplate-image
|
FROM php:${PHP_VERSION}-${PHP_BASE_TYPE}-${PHP_DEBIAN_RELEASE} AS gomplate-image
|
||||||
|
|
||||||
ARG BUILDARCH
|
ARG TARGETARCH
|
||||||
ARG BUILDOS
|
ARG TARGETOS
|
||||||
ARG GOMPLATE_VERSION
|
ARG GOMPLATE_VERSION
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
@ -108,7 +108,7 @@ RUN set -ex \
|
||||||
--show-error \
|
--show-error \
|
||||||
--location \
|
--location \
|
||||||
--output /usr/local/bin/gomplate \
|
--output /usr/local/bin/gomplate \
|
||||||
https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_${BUILDOS}-${BUILDARCH} \
|
https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_${TARGETOS}-${TARGETARCH} \
|
||||||
&& chmod +x /usr/local/bin/gomplate \
|
&& chmod +x /usr/local/bin/gomplate \
|
||||||
&& /usr/local/bin/gomplate --version
|
&& /usr/local/bin/gomplate --version
|
||||||
|
|
||||||
|
@ -220,9 +220,6 @@ COPY --chown=${RUNTIME_UID}:${RUNTIME_GID} . /var/www/
|
||||||
|
|
||||||
FROM php-extensions AS shared-runtime
|
FROM php-extensions AS shared-runtime
|
||||||
|
|
||||||
ARG BUILDARCH
|
|
||||||
ARG BUILDOS
|
|
||||||
ARG GOMPLATE_VERSION
|
|
||||||
ARG RUNTIME_GID
|
ARG RUNTIME_GID
|
||||||
ARG RUNTIME_UID
|
ARG RUNTIME_UID
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue