mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +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 \
|
||||
openssh-client \
|
||||
rsync \
|
||||
npm && \
|
||||
npm install -D autoprefixer postcss-cli
|
||||
npm
|
||||
|
||||
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 && \
|
||||
addgroup -Sg 1000 hugo && \
|
||||
|
||||
Reference in New Issue
Block a user