next try...
parent
7599887d44
commit
6d174776dc
|
@ -12,7 +12,9 @@ RUN addgroup \
|
||||||
git && \
|
git && \
|
||||||
echo "git:*" | chpasswd -e
|
echo "git:*" | chpasswd -e
|
||||||
|
|
||||||
RUN apk --no-cache add xz upx bash
|
RUN apk --no-cache add xz upx bash && \
|
||||||
|
mkdir -p /docker/bin && \
|
||||||
|
mkdir /dist
|
||||||
|
|
||||||
ENV USER git
|
ENV USER git
|
||||||
|
|
||||||
|
@ -20,11 +22,10 @@ ARG DEFAULTTAGNAME
|
||||||
ARG CI_COMMIT_TAG
|
ARG CI_COMMIT_TAG
|
||||||
ENV DEFAULTTAGNAME=${DEFAULTTAGNAME:-main}
|
ENV DEFAULTTAGNAME=${DEFAULTTAGNAME:-main}
|
||||||
|
|
||||||
COPY docker /docker
|
COPY ./docker /docker
|
||||||
COPY dist /dist
|
COPY ./dist /dist
|
||||||
|
|
||||||
RUN mkdir /docker/bin && \
|
RUN /docker/map-binaries.sh /dist/binaries "true" forgejo ${CI_COMMIT_TAG##v} && \
|
||||||
/docker/map-binaries.sh /dist/binaries "true" forgejo ${CI_COMMIT_TAG##v} && \
|
|
||||||
/docker/map-binaries.sh /dist/contrib "false" environment-to-ini ${CI_COMMIT_TAG##v}
|
/docker/map-binaries.sh /dist/contrib "false" environment-to-ini ${CI_COMMIT_TAG##v}
|
||||||
|
|
||||||
RUN chmod 755 /docker/root/usr/bin/entrypoint /docker/root/etc/s6/gitea/* /docker/root/etc/s6/openssh/* /docker/root/etc/s6/.s6-svscan/* && \
|
RUN chmod 755 /docker/root/usr/bin/entrypoint /docker/root/etc/s6/gitea/* /docker/root/etc/s6/openssh/* /docker/root/etc/s6/.s6-svscan/* && \
|
||||||
|
|
Loading…
Reference in New Issue