Skip to content
Snippets Groups Projects
Commit aefe02d1 authored by nimrod's avatar nimrod
Browse files

Install nodejs corepack.

parent 4ba565c1
Branches
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ RUN apt-get update && \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
COPY --chown=root:root sources.d/* /etc/apt/sources.list.d/
COPY --chown=root:root preferences.d/* /etc/apt/preferences.d/
# hadolint ignore=DL3008,DL3013,DL3027,DL4001
# hadolint ignore=DL3008,DL3013,DL3016,DL3027,DL4001
RUN apt-get update && \
curl --location --silent --fail --show-error https://github.com/kubernetes/kompose/releases/download/v1.26.1/kompose_1.26.1_amd64.deb --output /tmp/kompose.deb && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends \
......@@ -228,6 +228,9 @@ RUN apt-get update && \
transmission-rpc \
&& \
echo pdm-publish pdm-version | xargs -n1 pdm plugin add && \
npm install --global \
corepack \
&& \
export GOPATH=/usr/local/lib/go && \
export PATH="$GOPATH/bin:$PATH" && \
mkdir "$GOPATH" && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment