Skip to content

Commit

Permalink
Fix bitbucket build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mtze committed Nov 27, 2023
1 parent 200cbc1 commit ab81300
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions bitbucket/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM $BASE_IMAGE
LABEL maintainer="[email protected]"
LABEL securitytxt="https://www.atlassian.com/.well-known/security.txt"

ARG VERSION=8.8.2
ARG VERSION=8.15.1
ARG BITBUCKET_VERSION=${VERSION}

ENV APP_NAME bitbucket
Expand All @@ -30,9 +30,6 @@ WORKDIR $BITBUCKET_HOME
EXPOSE 7990
EXPOSE 7999

CMD ["/entrypoint.py", "--log=INFO"]
ENTRYPOINT ["/usr/bin/tini", "--"]

RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends fontconfig openssh-client perl python3 python3-jinja2 tini git \
Expand All @@ -59,9 +56,6 @@ VOLUME ["${BITBUCKET_HOME}"]
RUN cp ./git-repo/exec-bitbucket-node.sh ${BITBUCKET_INSTALL_DIR}/bin/
RUN cp ./git-repo/_exec-webapp.sh ${BITBUCKET_INSTALL_DIR}/bin/

RUN cp ./git-repo/bin/make-git.sh /
RUN chmod 700 /make-git.sh
RUN /make-git.sh
RUN cp ./git-repo/bin/log4shell-vulnerability-fix.sh /
RUN chmod 700 /log4shell-vulnerability-fix.sh
RUN /log4shell-vulnerability-fix.sh
Expand All @@ -73,3 +67,6 @@ RUN cp ./git-repo/shutdown-wait.sh /

RUN rm -rf ./git-repo
RUN rm -rf ./shared-components

ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["/entrypoint.py", "--log=INFO"]

0 comments on commit ab81300

Please sign in to comment.