bulding gitea

This commit is contained in:
2022-08-03 18:13:52 -04:00
parent 5a7cdc7f71
commit f301b429df

View File

@@ -9,7 +9,6 @@ RUN addgroup -S -g 1000 gitea && \
RUN apk add --no-cache \ RUN apk add --no-cache \
git-lfs \ git-lfs \
openssh-keygen \ openssh-keygen \
curl \
bash &&\ bash &&\
apk add gitea --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community/ && \ apk add gitea --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community/ && \
mkdir /var/cache/gitea && \ mkdir /var/cache/gitea && \
@@ -19,11 +18,9 @@ RUN apk add --no-cache \
EXPOSE 22 3000 EXPOSE 22 3000
COPY start.sh /
RUN chmod +x /start.sh
USER gitea:gitea USER gitea:gitea
# ENTRYPOINT ["/usr/bin/gitea"] ENTRYPOINT ["/usr/bin/gitea"]
ENTRYPOINT ["./start.sh"]
# CMD ["web", "-c", "/data/app.ini"] CMD ["web", "-c", "/data/app.ini"]