mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Merge pull request #5529 from karlkfi/karl-pin-site-deps
chore: pin dev deps in the dev container
This commit is contained in:
@@ -28,8 +28,14 @@ RUN apk add --no-cache \
|
|||||||
git \
|
git \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
rsync \
|
rsync \
|
||||||
npm && \
|
npm
|
||||||
npm install -D autoprefixer postcss-cli
|
|
||||||
|
RUN mkdir -p /usr/local/node_packages
|
||||||
|
WORKDIR /usr/local/node_packages
|
||||||
|
COPY package.json ./
|
||||||
|
COPY package-lock.json ./
|
||||||
|
RUN npm install -D autoprefixer postcss-cli
|
||||||
|
ENV PATH="/usr/local/node_packages/node_modules/.bin:${PATH}"
|
||||||
|
|
||||||
RUN mkdir -p /var/hugo && \
|
RUN mkdir -p /var/hugo && \
|
||||||
addgroup -Sg 1000 hugo && \
|
addgroup -Sg 1000 hugo && \
|
||||||
|
|||||||
Reference in New Issue
Block a user