build git image

This commit is contained in:
Ronmi Ren 2025-01-13 16:43:00 +08:00
commit e1319660d9
2 changed files with 66 additions and 1 deletions

13
git.dockerfile Normal file
View file

@ -0,0 +1,13 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
FROM debian:stable-slim
# Install git
RUN apt-get update && apt-get install -y \
ca-certificates git \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
ADD forgejo-pages /usr/bin/forgejo-pages
ENTRYPOINT ["/usr/bin/forgejo-pages"]