Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions 20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,26 @@ RUN adduser -D -u 1337 kool && deluser --remove-home node \
make \
zlib-dev \
&& npm install -g pnpm \
# pnpm global settings live in ~/.config/pnpm/rc so npm does not warn on unknown keys in ~/.npmrc (npm 11+)
&& mkdir -p /root/.config/pnpm /home/kool/.config/pnpm \
&& printf '%s\n' \
'store-dir=/root/.pnpm-store' \
'package-import-method=copy' \
'shamefully-hoist=true' \
'scripts-prepend-node-path=true' \
> /root/.config/pnpm/rc \
&& printf '%s\n' \
'store-dir=/home/kool/.pnpm-store' \
'package-import-method=copy' \
'shamefully-hoist=true' \
'scripts-prepend-node-path=true' \
> /home/kool/.config/pnpm/rc \
&& chown -R kool:kool /home/kool/.config \
&& rm -rf rm -rf /root/.npm/* \
# dockerize
&& curl -L https://github.com/jwilder/dockerize/releases/download/v0.6.1/dockerize-alpine-linux-amd64-v0.6.1.tar.gz | tar xz \
&& mv dockerize /usr/local/bin/dockerize

COPY root-npmrc /root/.npmrc
COPY --chown=kool:kool kool-npmrc /home/kool/.npmrc
COPY entrypoint /entrypoint

RUN chmod +x /entrypoint
Expand Down
4 changes: 0 additions & 4 deletions 20/kool-npmrc

This file was deleted.

4 changes: 0 additions & 4 deletions 20/root-npmrc

This file was deleted.

17 changes: 15 additions & 2 deletions 22/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,26 @@ RUN adduser -D -u 1337 kool && deluser --remove-home node \
make \
zlib-dev \
&& npm install -g pnpm \
# pnpm global settings live in ~/.config/pnpm/rc so npm does not warn on unknown keys in ~/.npmrc (npm 11+)
&& mkdir -p /root/.config/pnpm /home/kool/.config/pnpm \
&& printf '%s\n' \
'store-dir=/root/.pnpm-store' \
'package-import-method=copy' \
'shamefully-hoist=true' \
'scripts-prepend-node-path=true' \
> /root/.config/pnpm/rc \
&& printf '%s\n' \
'store-dir=/home/kool/.pnpm-store' \
'package-import-method=copy' \
'shamefully-hoist=true' \
'scripts-prepend-node-path=true' \
> /home/kool/.config/pnpm/rc \
&& chown -R kool:kool /home/kool/.config \
&& rm -rf rm -rf /root/.npm/* \
# dockerize
&& curl -L https://github.com/jwilder/dockerize/releases/download/v0.6.1/dockerize-alpine-linux-amd64-v0.6.1.tar.gz | tar xz \
&& mv dockerize /usr/local/bin/dockerize

COPY root-npmrc /root/.npmrc
COPY --chown=kool:kool kool-npmrc /home/kool/.npmrc
COPY entrypoint /entrypoint

RUN chmod +x /entrypoint
Expand Down
4 changes: 0 additions & 4 deletions 22/kool-npmrc

This file was deleted.

4 changes: 0 additions & 4 deletions 22/root-npmrc

This file was deleted.

17 changes: 15 additions & 2 deletions 24/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,26 @@ RUN adduser -D -u 1337 kool && deluser --remove-home node \
make \
zlib-dev \
&& npm install -g pnpm \
# pnpm global settings live in ~/.config/pnpm/rc so npm does not warn on unknown keys in ~/.npmrc (npm 11+)
&& mkdir -p /root/.config/pnpm /home/kool/.config/pnpm \
&& printf '%s\n' \
'store-dir=/root/.pnpm-store' \
'package-import-method=copy' \
'shamefully-hoist=true' \
'scripts-prepend-node-path=true' \
> /root/.config/pnpm/rc \
&& printf '%s\n' \
'store-dir=/home/kool/.pnpm-store' \
'package-import-method=copy' \
'shamefully-hoist=true' \
'scripts-prepend-node-path=true' \
> /home/kool/.config/pnpm/rc \
&& chown -R kool:kool /home/kool/.config \
&& rm -rf rm -rf /root/.npm/* \
# dockerize
&& curl -L https://github.com/jwilder/dockerize/releases/download/v0.6.1/dockerize-alpine-linux-amd64-v0.6.1.tar.gz | tar xz \
&& mv dockerize /usr/local/bin/dockerize

COPY root-npmrc /root/.npmrc
COPY --chown=kool:kool kool-npmrc /home/kool/.npmrc
COPY entrypoint /entrypoint

RUN chmod +x /entrypoint
Expand Down
4 changes: 0 additions & 4 deletions 24/kool-npmrc

This file was deleted.

4 changes: 0 additions & 4 deletions 24/root-npmrc

This file was deleted.

24 changes: 0 additions & 24 deletions fwd-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@
{
"name": "entrypoint",
"path": "template/entrypoint"
},
{
"name": "kool-npmrc",
"path": "template/kool-npmrc"
},
{
"name": "root-npmrc",
"path": "template/root-npmrc"
}
]
},
Expand All @@ -40,14 +32,6 @@
{
"name": "entrypoint",
"path": "template/entrypoint"
},
{
"name": "kool-npmrc",
"path": "template/kool-npmrc"
},
{
"name": "root-npmrc",
"path": "template/root-npmrc"
}
]
},
Expand All @@ -65,14 +49,6 @@
{
"name": "entrypoint",
"path": "template/entrypoint"
},
{
"name": "kool-npmrc",
"path": "template/kool-npmrc"
},
{
"name": "root-npmrc",
"path": "template/root-npmrc"
}
]
}
Expand Down
17 changes: 15 additions & 2 deletions template/Dockerfile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,26 @@
make \
zlib-dev \
&& npm install -g pnpm \
# pnpm global settings live in ~/.config/pnpm/rc so npm does not warn on unknown keys in ~/.npmrc (npm 11+)
&& mkdir -p /root/.config/pnpm /home/kool/.config/pnpm \
&& printf '%s\n' \
'store-dir=/root/.pnpm-store' \
'package-import-method=copy' \
'shamefully-hoist=true' \
'scripts-prepend-node-path=true' \
> /root/.config/pnpm/rc \
&& printf '%s\n' \
'store-dir=/home/kool/.pnpm-store' \
'package-import-method=copy' \
'shamefully-hoist=true' \
'scripts-prepend-node-path=true' \
> /home/kool/.config/pnpm/rc \
&& chown -R kool:kool /home/kool/.config \
&& rm -rf rm -rf /root/.npm/* \
# dockerize
&& curl -L https://github.com/jwilder/dockerize/releases/download/v0.6.1/dockerize-alpine-linux-amd64-v0.6.1.tar.gz | tar xz \
&& mv dockerize /usr/local/bin/dockerize

COPY root-npmrc /root/.npmrc
COPY --chown=kool:kool kool-npmrc /home/kool/.npmrc
COPY entrypoint /entrypoint

RUN chmod +x /entrypoint
Expand Down
4 changes: 0 additions & 4 deletions template/kool-npmrc.blade.php

This file was deleted.

4 changes: 0 additions & 4 deletions template/root-npmrc.blade.php

This file was deleted.