Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 21bbb41

Browse files
committed
add containerfile
Signed-off-by: lstocchi <[email protected]>
1 parent 66bf947 commit 21bbb41

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Containerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM node:20-slim AS installer
2+
COPY package.json ./
3+
RUN npm i -g [email protected]
4+
5+
FROM scratch as builder
6+
COPY dist/ /extension/dist
7+
COPY package.json /extension/
8+
COPY LICENSE /extension/
9+
COPY icon.png /extension/
10+
COPY README.md /extension/
11+
COPY --from=installer /usr/local/lib/node_modules/ssh2/ /extension/node_modules/ssh2
12+
13+
FROM scratch
14+
15+
LABEL org.opencontainers.image.title="Macadam extension" \
16+
org.opencontainers.image.description="Example of Macadam extension" \
17+
org.opencontainers.image.vendor="podman-desktop" \
18+
io.podman-desktop.api.version=">= 1.10.0"
19+
20+
COPY --from=builder /extension /extension

0 commit comments

Comments
 (0)