mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-24 13:45:32 +03:00
fisheye-crucible release
This commit is contained in:
parent
fd524c76a8
commit
03195d06b5
@ -3,6 +3,7 @@
|
|||||||
* `may`
|
* `may`
|
||||||
* @kasthack was wrote docker-template generator for atlassian products
|
* @kasthack was wrote docker-template generator for atlassian products
|
||||||
* was regenerated and updated *all* `jira` images with `5`, `6`, `7` and `8` versions.
|
* was regenerated and updated *all* `jira` images with `5`, `6`, `7` and `8` versions.
|
||||||
|
* was regenerated and updated *all* `fisheye-crucible` images with `2`, `3` and `4` versions.
|
||||||
* all actual download links was get from [EpicMorg/atlassian-json](https://github.com/EpicMorg/atlassian-json) repo.
|
* all actual download links was get from [EpicMorg/atlassian-json](https://github.com/EpicMorg/atlassian-json) repo.
|
||||||
* asap will be updated and added all additional `atlassian` images.
|
* asap will be updated and added all additional `atlassian` images.
|
||||||
* `april`
|
* `april`
|
||||||
|
49
bin/dotnet/data/fisheye-crucible/templates/2/Dockerfile
Normal file
49
bin/dotnet/data/fisheye-crucible/templates/2/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
bin/dotnet/data/fisheye-crucible/templates/2/Makefile
Normal file
5
bin/dotnet/data/fisheye-crucible/templates/2/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
bin/dotnet/data/fisheye-crucible/templates/2/entrypoint.sh
Normal file
33
bin/dotnet/data/fisheye-crucible/templates/2/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
49
bin/dotnet/data/fisheye-crucible/templates/3/Dockerfile
Normal file
49
bin/dotnet/data/fisheye-crucible/templates/3/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk8
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
bin/dotnet/data/fisheye-crucible/templates/3/Makefile
Normal file
5
bin/dotnet/data/fisheye-crucible/templates/3/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
bin/dotnet/data/fisheye-crucible/templates/3/entrypoint.sh
Normal file
33
bin/dotnet/data/fisheye-crucible/templates/3/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
49
bin/dotnet/data/fisheye-crucible/templates/4/Dockerfile
Normal file
49
bin/dotnet/data/fisheye-crucible/templates/4/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk8
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
bin/dotnet/data/fisheye-crucible/templates/4/Makefile
Normal file
5
bin/dotnet/data/fisheye-crucible/templates/4/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
bin/dotnet/data/fisheye-crucible/templates/4/entrypoint.sh
Normal file
33
bin/dotnet/data/fisheye-crucible/templates/4/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.0.0.B3/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.0.0.B3/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.0.0.B3
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.B3.zip
|
49
linux/atlassian/fisheye-crucible/2/2.0.0.B3/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.0.0.B3/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.0.0.B3/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.0.0.B3/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.0.0.B3/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.0.0.B3/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.0.0.RC1/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.0.0.RC1/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.0.0.RC1
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.RC1.zip
|
49
linux/atlassian/fisheye-crucible/2/2.0.0.RC1/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.0.0.RC1/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.0.0.RC1/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.0.0.RC1/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.0.0.RC1/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.0.0.RC1/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.0.0.RC2/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.0.0.RC2/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.0.0.RC2
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.RC2.zip
|
49
linux/atlassian/fisheye-crucible/2/2.0.0.RC2/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.0.0.RC2/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.0.0.RC2/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.0.0.RC2/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.0.0.RC2/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.0.0.RC2/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.0.0.RC3/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.0.0.RC3/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.0.0.RC3
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.RC3.zip
|
49
linux/atlassian/fisheye-crucible/2/2.0.0.RC3/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.0.0.RC3/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.0.0.RC3/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.0.0.RC3/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.0.0.RC3/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.0.0.RC3/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.0.0/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.0.0/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.0.0
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.0.zip
|
49
linux/atlassian/fisheye-crucible/2/2.0.0/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.0.0/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.0.0/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.0.0/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.0.0/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.0.0/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.0.1/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.0.1/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.0.1
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.1.zip
|
49
linux/atlassian/fisheye-crucible/2/2.0.1/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.0.1/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.0.1/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.0.1/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.0.1/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.0.1/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.0.2/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.0.2/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.0.2
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.2.zip
|
49
linux/atlassian/fisheye-crucible/2/2.0.2/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.0.2/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.0.2/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.0.2/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.0.2/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.0.2/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.0.3/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.0.3/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.0.3
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.3.zip
|
49
linux/atlassian/fisheye-crucible/2/2.0.3/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.0.3/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.0.3/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.0.3/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.0.3/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.0.3/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.0.4/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.0.4/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.0.4
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.4.zip
|
49
linux/atlassian/fisheye-crucible/2/2.0.4/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.0.4/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.0.4/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.0.4/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.0.4/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.0.4/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.0.5/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.0.5/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.0.5
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.5.zip
|
49
linux/atlassian/fisheye-crucible/2/2.0.5/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.0.5/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.0.5/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.0.5/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.0.5/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.0.5/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.0.6/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.0.6/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.0.6
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.0.6.zip
|
49
linux/atlassian/fisheye-crucible/2/2.0.6/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.0.6/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.0.6/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.0.6/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.0.6/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.0.6/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.1.0.M2cc/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.1.0.M2cc/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.1.0.M2cc
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.0.M2cc.zip
|
49
linux/atlassian/fisheye-crucible/2/2.1.0.M2cc/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.1.0.M2cc/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.1.0.M2cc/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.1.0.M2cc/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.1.0.M2cc/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.1.0.M2cc/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.1.0.RC1/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.1.0.RC1/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.1.0.RC1
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.0.RC1.zip
|
49
linux/atlassian/fisheye-crucible/2/2.1.0.RC1/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.1.0.RC1/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.1.0.RC1/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.1.0.RC1/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.1.0.RC1/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.1.0.RC1/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.1.0/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.1.0/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.1.0
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.0.zip
|
49
linux/atlassian/fisheye-crucible/2/2.1.0/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.1.0/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.1.0/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.1.0/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.1.0/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.1.0/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.1.1/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.1.1/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.1.1
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.1.zip
|
49
linux/atlassian/fisheye-crucible/2/2.1.1/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.1.1/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.1.1/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.1.1/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.1.1/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.1.1/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.1.2/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.1.2/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.1.2
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.2.zip
|
49
linux/atlassian/fisheye-crucible/2/2.1.2/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.1.2/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.1.2/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.1.2/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.1.2/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.1.2/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.1.3/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.1.3/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.1.3
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.3.zip
|
49
linux/atlassian/fisheye-crucible/2/2.1.3/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.1.3/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
5
linux/atlassian/fisheye-crucible/2/2.1.3/Makefile
Normal file
5
linux/atlassian/fisheye-crucible/2/2.1.3/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/fisheye-crucible:${RELEASE}"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
RELEASE: ${RELEASE}
|
||||||
|
DOWNLOAD_URL: ${DOWNLOAD_URL}
|
33
linux/atlassian/fisheye-crucible/2/2.1.3/entrypoint.sh
Normal file
33
linux/atlassian/fisheye-crucible/2/2.1.3/entrypoint.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Set up FISHEYE_OPTS
|
||||||
|
: ${JVM_MINIMUM_MEMORY:=}
|
||||||
|
: ${JVM_MAXIMUM_MEMORY:=}
|
||||||
|
: ${JVM_SUPPORT_RECOMMENDED_ARGS:=}
|
||||||
|
|
||||||
|
: ${FISHEYE_OPTS:=}
|
||||||
|
|
||||||
|
if [ "${JVM_MINIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xms${JVM_MINIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
if [ "${JVM_MAXIMUM_MEMORY}" != "" ]; then
|
||||||
|
FISHEYE_OPTS="${FISHEYE_OPTS} -Xmx${JVM_MAXIMUM_MEMORY}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export FISHEYE_OPTS="${FISHEYE_OPTS} ${JVM_SUPPORT_RECOMMENDED_ARGS}"
|
||||||
|
|
||||||
|
# Start Bamboo as the correct user
|
||||||
|
if [ "${UID}" -eq 0 ]; then
|
||||||
|
echo "User is currently root. Will change directory ownership to ${RUN_USER}:${RUN_GROUP}, then downgrade permission to ${RUN_USER}"
|
||||||
|
PERMISSIONS_SIGNATURE=$(stat -c "%u:%U:%a" "${FISHEYE_INST}")
|
||||||
|
EXPECTED_PERMISSIONS=$(id -u ${RUN_USER}):${RUN_USER}:700
|
||||||
|
if [ "${PERMISSIONS_SIGNATURE}" != "${EXPECTED_PERMISSIONS}" ]; then
|
||||||
|
chmod -R 700 "${FISHEYE_INST}" &&
|
||||||
|
chown -R "${RUN_USER}:${RUN_GROUP}" "${FISHEYE_INST}"
|
||||||
|
fi
|
||||||
|
# Now drop privileges
|
||||||
|
exec su -s /bin/bash "${RUN_USER}" -c "$FISHEYE_HOME/bin/fisheyectl.sh $@"
|
||||||
|
else
|
||||||
|
exec "$FISHEYE_HOME/bin/fisheyectl.sh" "$@"
|
||||||
|
fi
|
3
linux/atlassian/fisheye-crucible/2/2.1.4/.env
Normal file
3
linux/atlassian/fisheye-crucible/2/2.1.4/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
RELEASE=2.1.4
|
||||||
|
DOWNLOAD_URL=https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-2.1.4.zip
|
49
linux/atlassian/fisheye-crucible/2/2.1.4/Dockerfile
Normal file
49
linux/atlassian/fisheye-crucible/2/2.1.4/Dockerfile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
FROM epicmorg/prod:jdk7
|
||||||
|
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# ARGuments
|
||||||
|
##################################################################
|
||||||
|
#configured by dockerfile / .ENV
|
||||||
|
ARG RELEASE
|
||||||
|
ARG DOWNLOAD_URL
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Setup
|
||||||
|
##################################################################
|
||||||
|
ENV RUN_USER daemon
|
||||||
|
ENV RUN_GROUP daemon
|
||||||
|
|
||||||
|
# https://confluence.atlassian.com/fisheye/fisheye-folder-layout-298976940.html
|
||||||
|
ENV FISHEYE_HOME /opt/atlassian/fecru
|
||||||
|
ENV FISHEYE_INST /var/atlassian/application-data/fecru
|
||||||
|
|
||||||
|
VOLUME ["${FISHEYE_INST}"]
|
||||||
|
WORKDIR $FISHEYE_INST
|
||||||
|
|
||||||
|
# Expose HTTP port
|
||||||
|
EXPOSE 8060
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Installing
|
||||||
|
##################################################################
|
||||||
|
RUN mkdir -p ${FISHEYE_HOME} \
|
||||||
|
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& unzip -q /tmp/fisheye-${RELEASE}.zip -d /tmp \
|
||||||
|
&& mv /tmp/fecru-${RELEASE}/* ${FISHEYE_HOME} \
|
||||||
|
&& chown -R ${RUN_USER}:${RUN_GROUP} ${FISHEYE_HOME} \
|
||||||
|
&& chmod +x /usr/bin/p4 \
|
||||||
|
&& update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& apt-get autoclean -y \
|
||||||
|
&& rm -rfv /tmp/fisheye-${RELEASE}.zip \
|
||||||
|
&& rm -rfv /tmp/fecru-${RELEASE} \
|
||||||
|
&& rm -rfv /var/lib/apt/lists/* \
|
||||||
|
&& rm -rfv /var/cache/apt/archives/*.deb
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
COPY . /tmp
|
||||||
|
|
||||||
|
CMD ["/entrypoint.sh", "run"]
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user