mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-05 15:12:51 +01:00
b6efebc237
When the Forgejo CLI binary is `forgejo-cli`, the `--verbose` or `--quiet` arguments are available globally for all sub-commands. The same sub-commands can be used with `forgejo forgejo-cli`, those flags are not available.
6 lines
314 B
Docker
6 lines
314 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/forgejo-cli ; chmod +x /app/gitea/forgejo-cli
|