Skip to content

Commit

Permalink
Revert "feat(build): Bump Dockerfile base image to node:20-bookworm (#…
Browse files Browse the repository at this point in the history
…472)"

This reverts commit 0941c46.
  • Loading branch information
sl0thentr0py authored and mydea committed Jul 18, 2023
1 parent 57d7cab commit 1b75d4e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 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', '20']
node: ['14', '16']
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
Expand Down
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-bookworm
FROM node:14-bullseye

ENV DEBIAN_FRONTEND=noninteractive \
DOTNET_CLI_TELEMETRY_OPTOUT=1 \
Expand All @@ -20,15 +20,14 @@ RUN apt-get -qq update \
twine \
jq \
unzip \
openjdk-17-jdk \
openjdk-11-jdk \
maven \
elixir \
# TODO bump packages.microsoft.com to debian/12 when microsoft updates the package
&& curl -fsSL https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -o /tmp/packages-microsoft-prod.deb \
&& curl -fsSL https://packages.microsoft.com/config/debian/10/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 bookworm stable' >> /etc/apt/sources.list \
&& echo 'deb [arch=amd64] https://download.docker.com/linux/debian buster stable' >> /etc/apt/sources.list \
&& apt-get update -qq \
&& apt-get install -y --no-install-recommends \
dotnet-sdk-7.0 \
Expand Down
4 changes: 2 additions & 2 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- name: 'gcr.io/kaniko-project/executor:v1.12.1'
- name: 'gcr.io/kaniko-project/executor:v1.5.1'
args:
- '--cache=true'
- '--use-new-run'
Expand All @@ -9,7 +9,7 @@ steps:
- '-f'
- 'builder.dockerfile'
- name: 'us.gcr.io/$PROJECT_ID/craft:builder-$COMMIT_SHA'
- name: 'gcr.io/kaniko-project/executor:v1.12.1'
- name: 'gcr.io/kaniko-project/executor:v1.5.1'
args:
- '--cache=true'
- '--use-new-run'
Expand Down

0 comments on commit 1b75d4e

Please sign in to comment.