From cf1cd0c126eecdda8b4064f77e9dc3f13690db34 Mon Sep 17 00:00:00 2001 From: philipp Date: Wed, 17 Jan 2024 18:21:44 +0100 Subject: [PATCH] explain dockerfile --- Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index dfda4da..c2b6eb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,12 @@ +# 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 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 -# COPY . / - - RUN apt-get update && apt-get install -y sqlite3 # nodejs @@ -16,4 +20,3 @@ 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 -