Skip to content

Commit beabf26

Browse files
authored
DAJN-39 Adding regctl to dockerfile (#93)
* DAJN-39 Adding regctl to dockerfile
1 parent 0f0838d commit beabf26

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ RUN apt-get update -qqy && \
2222
&& rm -rf /var/lib/apt/lists/*
2323
#RUN echo kernel.unprivileged_userns_clone = 1 | tee /etc/sysctl.d/00-local-userns.conf
2424

25+
# Registry Client used in build.js of LKE to download docker image and export it to tar
26+
# renovate: datasource=github-releases depName=regclient/regclient
27+
ARG REGCLIENT_VERSION=v0.5.5
28+
RUN curl -fsSL "https://github.com/regclient/regclient/releases/download/$REGCLIENT_VERSION/regctl-linux-amd64" > /usr/local/bin/regctl \
29+
&& chmod 755 /usr/local/bin/regctl
30+
2531
USER jenkins
2632

2733
# renovate: datasource=github-releases depName=nvm-sh/nvm
@@ -36,6 +42,7 @@ RUN git clone --depth 1 --branch "$NVM_VERSION" https://github.com/nvm-sh/nvm.gi
3642
&& nvm install 18.18.2 \
3743
&& nvm install 14.21.3
3844

45+
3946
# for loading profile, to make nvm available for sh
4047
ENV ENV='$HOME/.profile'
4148
# hadolint ignore=SC1091

0 commit comments

Comments
 (0)