mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 19:11:58 +01:00
1a7a9055e4
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'
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
|