Skip to content

Commit

Permalink
Unblock journal deployments caused by archiving of debian 9 stretch (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nlisgo authored May 3, 2023
1 parent 76ef17e commit be4dda7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Dockerfile.assets_builder
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ FROM elifesciences/journal_composer:${image_tag} AS composer
FROM elifesciences/journal_npm:${image_tag} as npm
FROM node:${node_version}

# This is a temporary solution while we migrate to a more recent version of nodejs
RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list

RUN apt-get update && apt-get install --no-install-recommends -y \
libvips \
&& rm -rf /var/lib/apt/lists/*
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile.critical_css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ ARG image_tag=latest
ARG node_version
FROM pinterb/jq:0.0.16 AS jq
FROM elifesciences/journal_npm:${image_tag} as npm

FROM node:${node_version}

# This is a temporary solution while we migrate to a more recent version of nodejs
RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list

# From list at https://developers.google.com/web/tools/puppeteer/troubleshooting#chrome_headless_doesnt_launch
RUN apt-get update && apt-get install --no-install-recommends -y \
fonts-liberation \
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.npm
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
ARG node_version
FROM node:${node_version} as npm

# This is a temporary solution while we migrate to a more recent version of nodejs
RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list

RUN apt-get update && apt-get install --no-install-recommends -y \
nasm \
libvips-dev \
Expand Down

0 comments on commit be4dda7

Please sign in to comment.