diff --git a/Dockerfile b/Dockerfile index c6d7052..6899767 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ ARG PRIVATE_REGISTRY=hub.docker.nexus3.linkurious.net/ -FROM ${PRIVATE_REGISTRY}linkurious/docker-agent-jnlp:0.0.31 +FROM ${PRIVATE_REGISTRY}linkurious/docker-agent-jnlp:0.0.32 LABEL maintainer="Edward Nys " SHELL ["/bin/bash", "-o", "pipefail", "-c"] + USER root + # Latest Google Chrome installation package RUN curl -fsSL https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ && sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' @@ -22,12 +24,6 @@ RUN apt-get update -qqy && \ && rm -rf /var/lib/apt/lists/* #RUN echo kernel.unprivileged_userns_clone = 1 | tee /etc/sysctl.d/00-local-userns.conf -# Registry Client used in build.js of LKE to download docker image and export it to tar -# renovate: datasource=github-releases depName=regclient/regclient -ARG REGCLIENT_VERSION=v0.5.5 -RUN curl -fsSL "https://github.com/regclient/regclient/releases/download/$REGCLIENT_VERSION/regctl-linux-amd64" > /usr/local/bin/regctl \ - && chmod 755 /usr/local/bin/regctl - USER jenkins # renovate: datasource=github-releases depName=nvm-sh/nvm @@ -42,7 +38,6 @@ RUN git clone --depth 1 --branch "$NVM_VERSION" https://github.com/nvm-sh/nvm.gi && nvm install 18.18.2 \ && nvm install 14.21.3 - # for loading profile, to make nvm available for sh ENV ENV='$HOME/.profile' # hadolint ignore=SC1091