Add Dockerfile and GitHub Actions workflow for building Docker image
All checks were successful
Build Docker image / build (push) Successful in 1h59m36s

This commit is contained in:
Edgar P. Burkhart 2025-05-08 18:20:52 +02:00
commit 6644de29c7
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,25 @@
name: Build Docker image
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: code.edgarpierre.fr
username: ${{ vars.DOCKER_PUSH_USERNAME }}
password: ${{ secrets.DOCKER_PUSH_PASSWORD }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: code.edgarpierre.fr/${{ github.repository }}:${{ github.ref_name }}

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM code.edgarpierre.fr/actions/uv-act:main
USER root
RUN cd /tmp && \
curl -LO https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \
zcat < install-tl-unx.tar.gz | tar xvf - && \
cd install-tl-2* && \
perl ./install-tl --no-interaction
ENV PATH="/usr/local/texlive/2025/bin/x86_64-linux:$PATH"
USER uv