Skip to content

Commit

Permalink
no need to directly install imagemagick now as it comes packed with t…
Browse files Browse the repository at this point in the history
…he bullseye Ruby image
  • Loading branch information
Oaphi committed Nov 15, 2024
1 parent 798f035 commit 4c61124
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
5 changes: 1 addition & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ RUN apt-get update && \
# Install nodejs and imagemagick
WORKDIR /opt
RUN wget https://nodejs.org/dist/v12.18.3/node-v12.18.3-linux-x64.tar.xz && \
tar xf node-v12.18.3-linux-x64.tar.xz && \
wget https://imagemagick.org/archive/binaries/magick && \
chmod +x magick && \
mv magick /usr/local/bin/magick
tar xf node-v12.18.3-linux-x64.tar.xz

ENV NODEJS_HOME=/opt/node-v12.18.3-linux-x64/bin
ENV PATH=$NODEJS_HOME:$PATH
Expand Down
5 changes: 1 addition & 4 deletions docker/Dockerfile.arm
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ RUN apt-get update && \
# Install nodejs and imagemagick
WORKDIR /opt
RUN wget https://nodejs.org/dist/v12.18.3/node-v12.18.3-linux-x64.tar.xz && \
tar xf node-v12.18.3-linux-x64.tar.xz && \
wget https://imagemagick.org/archive/binaries/magick && \
chmod +x magick && \
mv magick /usr/local/bin/magick
tar xf node-v12.18.3-linux-x64.tar.xz

ENV NODEJS_HOME=/opt/node-v12.18.3-linux-x64/bin
ENV PATH=$NODEJS_HOME:$PATH
Expand Down
7 changes: 2 additions & 5 deletions docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ RUN apt-get update && \
libxslt-dev \
default-mysql-server

# Install nodejs and imagemagick
# Install nodejs
WORKDIR /opt
RUN wget https://nodejs.org/dist/v12.18.3/node-v12.18.3-linux-x64.tar.xz && \
tar xf node-v12.18.3-linux-x64.tar.xz && \
wget https://imagemagick.org/archive/binaries/magick && \
chmod +x magick && \
mv magick /usr/local/bin/magick
tar xf node-v12.18.3-linux-x64.tar.xz

ENV NODEJS_HOME=/opt/node-v12.18.3-linux-x64/bin
ENV PATH=$NODEJS_HOME:$PATH
Expand Down

0 comments on commit 4c61124

Please sign in to comment.