Skip to content

Commit

Permalink
build: Bump Dockerfile base image to node:20-bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
loewenheim committed Feb 8, 2024
1 parent c829420 commit 9df071b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '16']
node: ['14', '16', '20']
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN \
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/lib/node_modules/.bin" \
yarn --modules-folder /usr/local/lib/node_modules build

FROM node:14-bullseye
FROM node:20-bookworm

ENV DEBIAN_FRONTEND=noninteractive \
DOTNET_CLI_TELEMETRY_OPTOUT=1 \
Expand All @@ -38,18 +38,18 @@ RUN apt-get -qq update \
twine \
jq \
unzip \
openjdk-11-jdk \
openjdk-17-jdk \
maven \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

COPY Gemfile Gemfile.lock ./

RUN curl -fsSL https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -o /tmp/packages-microsoft-prod.deb \
RUN curl -fsSL https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -o /tmp/packages-microsoft-prod.deb \
&& dpkg -i /tmp/packages-microsoft-prod.deb \
&& rm /tmp/packages-microsoft-prod.deb \
&& curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
&& echo 'deb [arch=amd64] https://download.docker.com/linux/debian buster stable' >> /etc/apt/sources.list \
&& echo 'deb [arch=amd64] https://download.docker.com/linux/debian bookworm stable' >> /etc/apt/sources.list \
&& curl -fsSL https://packages.erlang-solutions.com/debian/erlang_solutions.asc | apt-key add - \
&& echo 'deb https://packages.erlang-solutions.com/debian bullseye contrib' >> /etc/apt/sources.list \
&& apt-get update -qq \
Expand Down

0 comments on commit 9df071b

Please sign in to comment.