-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a7e989
commit 4de166a
Showing
2 changed files
with
4 additions
and
13 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,23 +1,11 @@ | ||
FROM golang:1.23 | ||
FROM ghcr.io/theo-hafsaoui/go-latex-img:c800f95 | ||
|
||
WORKDIR /app | ||
|
||
COPY go.mod go.sum ./ | ||
RUN go mod download && go mod verify | ||
|
||
COPY . . | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
texlive \ | ||
texlive-latex-extra \ | ||
texlive-fonts-extra \ | ||
texlive-xetex \ | ||
texlive-font-utils \ | ||
fonts-font-awesome && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
RUN make build | ||
|
||
CMD ["./anemon", "generate"] |
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