reverted to official image

This commit is contained in:
2025-10-01 22:37:59 +05:30
parent b1681ad2fa
commit 93130d7219
2 changed files with 5 additions and 16 deletions

View File

@@ -56,9 +56,9 @@ services:
command: sh -c "update-ca-certificates && drone-server"
drone-runner:
# image: drone/drone-runner-docker:alpine
build:
context: ./drone-runner/
image: drone/drone-runner-docker:alpine
# build:
# context: ./drone-runner/
container_name: drone-runner
restart: always
depends_on:

View File

@@ -1,13 +1,2 @@
# Use official ARM64 Drone runner image as base
FROM drone/drone-runner-docker:1.8-linux-arm64
# Switch to root to install CA certificates
USER root
# Install CA certificates
RUN apk add --no-cache ca-certificates
# Switch back to drone user
USER drone
# Entrypoint is already set in base image
FROM drone/drone-runner-docker:latest
RUN ["apk", "add", "--no-cache", "ca-certificates", "bash"]