-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 \ | ||
|
@@ -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 | ||
|
@@ -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"] |