Skip to content

Commit

Permalink
feat: add mjml linux binary
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpoensgen committed Jan 26, 2024
1 parent 8dd6a71 commit 9e957c7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#syntax=docker/dockerfile:1.6
FROM node as mjml
RUN npm install -g [email protected] && \
npm install -g [email protected] && \
pkg /usr/local/lib/node_modules/mjml/bin/mjml -t node14-alpine-x64 -o /mjml
RUN <<EOF
npm install -g [email protected]
npm install -g [email protected]
pkg /usr/local/lib/node_modules/mjml/bin/mjml -t node18-linux-x64,node18-alpine-x64
EOF

FROM scratch
COPY --from=mjml /mjml /mjml
COPY --from=mjml /mjml-alpine /mjml
COPY --from=mjml /mjml-linux /mjml-linux

0 comments on commit 9e957c7

Please sign in to comment.