18 lines
653 B
Docker
18 lines
653 B
Docker
# FROM codeberg.org/forgejo/forgejo:1.18.0-rc1-2
|
|
# FROM codeberg.org/forgejo/forgejo:1.18.0-1
|
|
# FROM codeberg.org/forgejo/forgejo:1.18.5-0
|
|
# FROM codeberg.org/forgejo/forgejo:1.19.0-2
|
|
# FROM codeberg.org/forgejo/forgejo:1.19.4-0 PREVIOUS
|
|
# FROM codeberg.org/forgejo/forgejo:1.20.2-0
|
|
# FROM codeberg.org/forgejo/forgejo:1.20.6-1
|
|
# FROM codeberg.org/forgejo/forgejo:1.21.7-0
|
|
FROM codeberg.org/forgejo/forgejo:7.0.1
|
|
|
|
COPY entrypoint-wrapper parse-database-url /usr/bin/
|
|
RUN chmod 755 /usr/bin/entrypoint-wrapper /usr/bin/parse-database-url
|
|
|
|
RUN cd /usr/local/bin \
|
|
&& mv gitea forgejo \
|
|
&& ln -s forgejo gitea
|
|
|
|
ENTRYPOINT ["/usr/bin/entrypoint-wrapper"]
|