Skip to content

Commit 6f86824

Browse files
committed
Add yq package installation to Dockerfile
1 parent d727b26 commit 6f86824

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ FROM $BASE_IMAGE
1010

1111
ARG TARGETARCH
1212
ARG TARGETVARIANT
13+
ARG TARGETOS
14+
15+
# renovate: datasource=github-tags depName=mikefarah/yq
16+
ARG YQ_VERSION=v4.47.1
17+
ADD --chmod=555 https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_${TARGETOS}_${TARGETARCH} /usr/local/bin/yq
1318

1419
EXPOSE 80
1520

@@ -111,8 +116,7 @@ apt-get install -y -o Dpkg::Options::="--force-confnew" --no-install-recommends
111116
libmemcached-tools \
112117
php${PHP_VERSION}-intl \
113118
php${PHP_VERSION}-apcu \
114-
gh \
115-
yq
119+
gh
116120
EOS
117121

118122
ENV PHP_INI_DIR=/etc/php/$PHP_VERSION

0 commit comments

Comments
 (0)