-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move from jinjanator to minijinja-cli
- Loading branch information
Showing
3 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
FROM jonasal/nginx-certbot:5.4-alpine | ||
FROM rust:alpine AS minijina-builder | ||
|
||
ARG PIP_BREAK_SYSTEM_PACKAGES=1 | ||
ARG JINJANATOR_VERSION=24.3.0 | ||
ARG MINIJINJA_VERSION=2.3.1 | ||
RUN cargo install \ | ||
--root /build \ | ||
--version "${MINIJINJA_VERSION}" \ | ||
--no-default-features \ | ||
minijinja-cli \ | ||
&& strip /build/bin/minijinja-cli | ||
|
||
RUN pip install --no-cache-dir "jinjanator==${JINJANATOR_VERSION}" | ||
|
||
FROM jonasal/nginx-certbot:5.4-alpine AS final | ||
|
||
COPY --from=minijina-builder /build/bin/minijinja-cli /usr/local/bin/ | ||
|
||
ADD image/ / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters