Skip to content

Commit e45d379

Browse files
committed
Use supported version of yq (debian pkg not supported or correct version)
Signed-off-by: Scott Rigby <[email protected]>
1 parent 8f90b89 commit e45d379

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

applications/wg-easy/container/Containerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ RUN apt-get update && apt-get install -y \
1717
curl \
1818
jq \
1919
less \
20-
yq \
2120
gnupg \
2221
bash-completion \
2322

@@ -56,7 +55,14 @@ RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | b
5655
| cut -d : -f 2,3 \
5756
| tr -d \") -o replicated.tar.gz \
5857
&& tar xf replicated.tar.gz replicated && rm replicated.tar.gz \
59-
&& mv replicated /usr/local/bin/replicated
58+
&& mv replicated /usr/local/bin/replicated \
59+
60+
# Install yq
61+
&& BINARY=yq_linux_amd64 \
62+
&& VERSION=v4.45.1 \
63+
&& curl -Ls https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O \
64+
&& tar xf ${BINARY}.tar.gz && rm ${BINARY}.tar.gz \
65+
&& mv ${BINARY} /usr/local/bin/yq
6066

6167
# Create a non-root user for better security
6268
RUN groupadd -r devuser && useradd -r -g devuser -m -s /bin/bash devuser

0 commit comments

Comments
 (0)