mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 05:36:19 +01:00
7845659322
It could be used but then `cp --dereference` would need to be used instead in
the forgejo-build-publish action.
+ docker cp forgejo-amd64:/app/gitea/forgejo-cli forgejo-9.0-test-linux-amd64
+ chmod +x forgejo-9.0-test-linux-amd64
chmod: cannot operate on dangling symlink 'forgejo-9.0-test-linux-amd64'
(cherry picked from commit 1a7a9055e4
)
6 lines
302 B
Docker
6 lines
302 B
Docker
FROM code.forgejo.org/oci/alpine:3.20
|
|
ARG RELEASE_VERSION=unkown
|
|
LABEL maintainer="contact@forgejo.org" \
|
|
org.opencontainers.image.version="${RELEASE_VERSION}"
|
|
RUN mkdir -p /app/gitea
|
|
RUN ( echo '#!/bin/sh' ; echo "echo forgejo v$RELEASE_VERSION" ) > /app/gitea/gitea ; chmod +x /app/gitea/gitea
|