Skip to content

Commit f95c926

Browse files
committed
Add deno and licensed back
1 parent 38566a2 commit f95c926

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Dockerfile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# syntax=docker/dockerfile:1.16
2+
13
# Base image
24
FROM node:22
35

@@ -10,7 +12,17 @@ RUN set -x \
1012
&& apt-get install -y --no-install-recommends ./google-chrome-stable_current_amd64.deb fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 \
1113
&& rm -rf ./google-chrome-stable_current_amd64.deb /var/lib/apt/lists/*
1214

13-
# TODO: install licensed with pkgx https://github.com/pkgxdev/pantry/issues/9488
15+
# Install deno for miscellaneous scripts
16+
# TODO: pin major deno version
17+
COPY --from=denoland/deno:bin /deno /usr/local/bin/deno
18+
19+
# Install licensed through pkgx
20+
# TODO: pin major pkgx version
21+
COPY --from=pkgxdev/pkgx:busybox /usr/local/bin/pkgx /usr/local/bin/pkgx
22+
COPY --chmod=+x <<EOF /usr/local/bin/licensed
23+
#!/usr/bin/env -S pkgx --shebang --quiet +github.com/licensee/licensed@5 -- licensed
24+
EOF
25+
RUN licensed --version
1426

1527
# Environment variables
1628
ENV PUPPETEER_SKIP_DOWNLOAD="true"

0 commit comments

Comments
 (0)