ADD file:58acae53f12429504dea737cd60eba46c5f2eea862974a8d8fe218c17d285565 in / |
CMD ["bash"] |
ARG DEBIAN_FRONTEND=noninteractive |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt update && apt install -y adduser gnupg git && rm -rf /var/lib/apt/ # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c userdel ubuntu; addgroup --gid 1000 git; useradd --uid 1000 --gid 1000 --groups git --home-dir /data -m --shell /bin/bash git # buildkit |
COPY /build/gitea /usr/bin/gitea # buildkit |
USER git |
VOLUME [/data] |
WORKDIR /data |
ENV GITEA_WORK_DIR=/data GITEA_CUSTOM=/data |
ENTRYPOINT ["gitea" "web" "--config" "/data/app.ini"] |