|
@@ -3,7 +3,7 @@ EXPOSE 8000
|
|
|
|
|
|
WORKDIR /opt
|
|
|
|
|
|
-ADD composer.sh keys ./
|
|
|
+ADD composer.sh keys .
|
|
|
|
|
|
RUN apt-get update; \
|
|
|
apt-get install -yq wget apt-transport-https lsb-release ca-certificates;\
|
|
@@ -16,9 +16,10 @@ RUN apt-get update; \
|
|
|
php7.1-bcmath php7.1-mbstring php7.1-dom php7.1-amqp \
|
|
|
php7.1-soap php7.1-snmp php7.1-intl php-gmp \
|
|
|
libcurl3-dev php7.1-fpm php7.1-soap; \
|
|
|
+ ls /opt;\
|
|
|
chmod 0600 /opt/keys/*; \
|
|
|
chmod +x /opt/composer.sh; \
|
|
|
- ./opt/composer.sh; \
|
|
|
+ sh /opt/composer.sh; \
|
|
|
mkdir ~/.ssh; \
|
|
|
ssh-keyscan -H -p 22 gitlab.com >> ~/.ssh/known_hosts; \
|
|
|
ssh-keyscan -H -p 222 gogs.infra.flowdat.com >> ~/.ssh/known_hosts; \
|