Skip to content

Commit

Permalink
Merge pull request trydirect#2 from trydirect/v2.0.22
Browse files Browse the repository at this point in the history
V2.0.22
  • Loading branch information
vsilent authored Jun 3, 2019
2 parents 8ffeb26 + bf722a5 commit 2a2ac5b
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 15 deletions.
18 changes: 9 additions & 9 deletions v2_0_22/build/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
FROM ubuntu:16.04
RUN apt-get -y -qq update; apt-get -y -qq install software-properties-common; \
LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php -y; apt-get update -y -qq; \
apt-get install -y -qq nginx sudo supervisor php7.1-apcu php7.1-bcmath php7.1-cli \
apt-get install -y -qq wget nginx sudo supervisor php7.1-apcu php7.1-bcmath php7.1-cli \
php7.1-curl php7.1-fpm php7.1-gd php7.1-intl php7.1-mcrypt php7.1-mysql php7.1-soap \
php7.1-xml php7.1-zip php7.1-imagick cron; \
rm -rf /etc/nginx/sites-available/default; rm -rf /etc/nginx/sites-enabled/default; mkdir /run/php; \
groupadd -r -g 20000 akeneo; useradd -r -u 20000 -g 20000 -m -c "Akeneo account" -d /home/akeneo -s /bin/bash akeneo; \
groupadd -r -g 2000 akeneo; useradd -r -u 2000 -g 2000 -m -c "Akeneo account" -d /home/akeneo -s /bin/bash akeneo; \
mkdir -p /opt/letsencrypt
COPY ./src/app.tar.gz /usr/src/app.tar.gz
# COPY ./src/app.tar.gz /usr/src/app.tar.gz
RUN wget https://download.akeneo.com/pim-community-standard-v2.0-latest-icecat.tar.gz -O /usr/src/app.tar.gz
RUN chown akeneo:akeneo /usr/src/app.tar.gz
ADD ../configs /etc/php/7.1/cli/php.ini
ADD ../configs /etc/php/7.1/fpm/php.ini
ADD ../configs /etc/php/7.1/fpm/pool.d/www.conf
ADD ../configs /etc/supervisor/conf.d/akeneo.conf
ADD ../scripts /opt/letsencrypt/letsencrypt-auto
ADD configs/php/cli/php.ini /etc/php/7.1/cli/php.ini
ADD configs/php/fpm/php.ini /etc/php/7.1/fpm/php.ini
ADD configs/php/www.conf /etc/php/7.1/fpm/pool.d/www.conf
ADD configs/supervisord/akeneo.conf /etc/supervisor/conf.d/akeneo.conf
ADD scripts/letsencrypt-auto /opt/letsencrypt/letsencrypt-auto
RUN chmod +x /opt/letsencrypt/letsencrypt-auto; /opt/letsencrypt/letsencrypt-auto --os-packages-only --install-only --non-interactive

RUN apt-get clean; apt-get autoclean; apt-get autoremove -y -qq

USER akeneo
ENV HOME /home/akeneo
WORKDIR /home/akeneo
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
[unix_http_server]
file = /path/to/supervisord.sock
chmod = 0700
username = dummy
password = changethispasswordtoany

[program:nginx]
command=/usr/sbin/nginx -g "daemon off;"
stopsignal=TERM
Expand Down
File renamed without changes.

0 comments on commit 2a2ac5b

Please sign in to comment.