fixes
All checks were successful
docker (ubuntu-latest, 2.38.4)

This commit is contained in:
Lee 2023-03-27 22:24:52 +01:00
parent 3efce1f53b
commit 15097fdd52
2 changed files with 5 additions and 20 deletions

View File

@ -33,9 +33,9 @@ jobs:
username: ${{ secrets.REPO_USERNAME }}
password: ${{ secrets.REPO_TOKEN }}
- name: Build and push - gitea-runner:ubuntu-latest
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
context: ./gitea-runner
tags: git.fascinated.cc/fascinated/gitea-runner:ubuntu-latest
tags: git.fascinated.cc/fascinated/gitea-runner:latest

View File

@ -1,19 +1,4 @@
from ubuntu:latest
FROM docker:stable
# Disable interactive mode
ARG DEBIAN_FRONTEND=noninteractive
# Update and install packages
RUN apt update && apt upgrade -y
RUN apt install -y git wget curl
RUN echo "Installed and updated packages"
# Install Docker
RUN wget -q -O /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-20.10.23.tgz \
&& tar --extract --file /tmp/docker.tgz --directory /usr/bin --strip-components 1 --no-same-owner docker/docker \
&& rm -rf /tmp/*
RUN echo "Installed Docker"
# Clean up apt
RUN rm -rf /var/lib/apt/lists/*
RUN apt clean
# Install packages
RUN apk add --no-cache curl wget git