rowt/Dockerfile
philipp cf1cd0c126
Some checks failed
CI/CD Pipeline / test-frontend (push) Failing after 1s
CI/CD Pipeline / test-backend (push) Failing after 1s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
explain dockerfile
2024-01-17 18:21:44 +01:00

23 lines
768 B
Docker

# This dockerfile is used as basis for the CI jobs.
# Process to renew it:
# 0. Login to gitea docker registry: `docker login git.hofer.link`
# 1. Build the image `docker build .`
# 2. Tag the image: `docker tag <id> git.hofer.link/ruderverein-donau-linz/rowing-ci:latest`
# 3. Push the image: `docker push git.hofer.link/ruderverein-donau-linz/rowing-ci:latest`
FROM rust:latest
RUN apt-get update && apt-get install -y sqlite3
# nodejs
RUN apt-get install -y curl && \
curl -sL https://deb.nodesource.com/setup_21.x | bash - && \
apt-get install -y nodejs
# playwright
RUN npx playwright install --with-deps
# deployment
RUN rustup target add x86_64-unknown-linux-musl
RUN apt-get install -y -qq pkg-config sshpass musl musl-tools curl gnupg libssl-dev