mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-05 17:59:15 +01:00
[BRANDING] symlink gitea to forgejo in docker containers
(cherry picked from commit9c06a318b8
) (cherry picked from commit95859da3b4
) (cherry picked from commite3a5f6c1ed
) (cherry picked from commit7b9b259c75
) (cherry picked from commitc4a152c8dc
) (cherry picked from commitb00bf599ef
) (cherry picked from commita7836ee2ee
) (cherry picked from commit3ea7dcbd5b
) (cherry picked from commit454d705e83
) (cherry picked from commit35e06c3009
) (cherry picked from commit904468a38f
) (cherry picked from commit890e86815a
) (cherry picked from commitbf9f94c63d
) (cherry picked from commitd025d061d1
) (cherry picked from commit32f209a8e1
) (cherry picked from commit38ef6802fc
) (cherry picked from commit8a19bbd2a8
) (cherry picked from commitf352dee786
) (cherry picked from commitb53d9fc090
) (cherry picked from commit3dae21f4c8
) (cherry picked from commit8b59e016c7
) (cherry picked from commit6f54ea6a0e
) (cherry picked from commited8d90de6b
) (cherry picked from commit26ffd3fcac
)
This commit is contained in:
parent
c3d4a1a602
commit
287b3bbfb5
2 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,7 @@ ENTRYPOINT ["/usr/bin/entrypoint"]
|
|||
CMD ["/bin/s6-svscan", "/etc/s6"]
|
||||
|
||||
COPY docker/root /
|
||||
RUN cd /usr/local/bin ; ln -s gitea forgejo
|
||||
COPY --from=build-env /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea
|
||||
COPY --from=build-env /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini
|
||||
COPY --from=build-env /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete /etc/profile.d/gitea_bash_autocomplete.sh
|
||||
|
|
|
@ -67,6 +67,7 @@ RUN mkdir -p /var/lib/gitea /etc/gitea
|
|||
RUN chown git:git /var/lib/gitea /etc/gitea
|
||||
|
||||
COPY docker/rootless /
|
||||
RUN cd /usr/local/bin ; ln -s gitea forgejo
|
||||
COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea
|
||||
COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini
|
||||
COPY --from=build-env /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete /etc/profile.d/gitea_bash_autocomplete.sh
|
||||
|
|
Loading…
Reference in a new issue