-
Notifications
You must be signed in to change notification settings - Fork 3
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
0a6d825
commit 3610fe0
Showing
4 changed files
with
20 additions
and
14 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
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM archlinux:latest AS build | ||
WORKDIR /logo | ||
# Dependencies | ||
RUN pacman -Sy --needed --noconfirm inkscape librsvg | ||
# Build logo | ||
RUN curl -O https://www.tu-darmstadt.de/media/medien_stabsstelle_km/services/medien_cd/das_bild_der_tu_darmstadt.pdf \ | ||
&& inkscape das_bild_der_tu_darmstadt.pdf --export-filename=p1_i.svg --export-dpi=300 --pages=1 \ | ||
&& sed -i 's/icc-color([^)]*)//g' p1_i.svg \ | ||
&& sed -i 's/#000000/#1d1d1bff/g' p1_i.svg \ | ||
&& rsvg-convert -f pdf -o tuda_logo.pdf p1_i.svg --export-id=g23 \ | ||
&& rm das_bild_der_tu_darmstadt.pdf p1_i.svg | ||
|
||
FROM scratch AS export-stage | ||
COPY --from=build /logo/tuda_logo.pdf . |