Skip to content

Commit

Permalink
Add imagick & gd (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardocustodio authored Sep 25, 2023
1 parent f0008f8 commit 939f7ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 6 additions & 3 deletions configs/core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,21 @@ RUN apt-get update -y && \
apt-get install -y libpq-dev libgmp-dev libsodium-dev libmemcached-dev zlib1g-dev wait-for-it libffi-dev golang-go && \
apt-get install -y inotify-tools libcurl4-openssl-dev libpq-dev libssl-dev supervisor dos2unix

# Install imagick
RUN apt-get install -y libmagickwand-dev --no-install-recommends && \
pecl install imagick

# Install node and npm
RUN curl -sL https://deb.nodesource.com/setup_16.x -o /tmp/nodesource_setup.sh
RUN bash /tmp/nodesource_setup.sh
RUN apt-get install -y nodejs

COPY scripts/ /usr/scripts/

RUN docker-php-ext-install ffi pdo pdo_mysql gmp bcmath sodium mysqli sockets pcntl
RUN docker-php-ext-install ffi pdo pdo_mysql gmp bcmath sodium mysqli sockets pcntl gd

RUN /usr/scripts/install-php-redis.sh

RUN docker-php-ext-enable redis
RUN docker-php-ext-enable redis imagick

# Stage: create-application
FROM setup-web-server as create-application
Expand Down
1 change: 0 additions & 1 deletion configs/daemon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ LABEL org.opencontainers.image.source=https://github.com/enjin/wallet-daemon
LABEL org.opencontainers.image.description="Platform - Efinity Wallet Daemon"
LABEL org.opencontainers.image.licenses=LGPL-3.0-only


COPY configs/daemon/config.json /opt/app/config.json
COPY configs/daemon/.env /usr/local/bin/.env
COPY configs/daemon/start.sh /usr/local/bin/start
Expand Down

0 comments on commit 939f7ce

Please sign in to comment.