fishyey fix

This commit is contained in:
STAM 2020-03-02 17:03:49 +03:00
parent 66c1bfd933
commit 13030820b5
2 changed files with 9 additions and 5 deletions

View File

@ -8,9 +8,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG FECRU_VERSION=4.8.1
ARG DOWNLOAD_URL=https://product-downloads.atlassian.com/software/fisheye/downloads/fisheye-${FECRU_VERSION}.zip
ARG P4_VERSION=r19.2
ARG P4_DOWNLOAD_URL=http://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# Setup
##################################################################
@ -31,7 +28,6 @@ EXPOSE 8060
# Installing
##################################################################
RUN mkdir -p ${FISHEYE_HOME} \
&& wget -nv --random-wait -c -P /usr/bin ${P4_DOWNLOAD_URL} \
&& wget -nv --random-wait -c ${DOWNLOAD_URL} -O /tmp/fisheye-${FECRU_VERSION}.zip \
&& unzip -q /tmp/fisheye-${FECRU_VERSION}.zip -d /tmp \
&& mv /tmp/fecru-${FECRU_VERSION}/* ${FISHEYE_HOME} \

View File

@ -12,6 +12,13 @@ RUN apt update && apt dist-upgrade -y
COPY locale.gen /etc/locale.gen
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
##################################################################
# perforce client binary
##################################################################
ARG P4_VERSION=r19.2
ARG P4_DOWNLOAD_URL=http://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# installing utils
##################################################################
@ -64,7 +71,8 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
uuid-runtime \
wget \
zip && \
openssl dhparam -out /etc/ssl/dhparam.pem 4096
wget -nv --random-wait -c -P /usr/bin ${P4_DOWNLOAD_URL} && \
openssl dhparam -out /etc/ssl/dhparam.pem 4096
##################################################################
# cleaninig up