Skip to content

Commit

Permalink
Use with node14
Browse files Browse the repository at this point in the history
  • Loading branch information
ericof committed Jul 4, 2023
1 parent 66a19ad commit 5679e55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ on:
workflow_dispatch:

env:
PYTHON_VERSION: "3.11"
PLONE_VERSION: "6.0.6"
IMAGE_NAME_PREFIX: ghcr.io/kitconcept/plone-test
IMAGE_NAME_SUFFIX: py37-node12
IMAGE_NAME_SUFFIX: py37-node14

jobs:

Expand Down Expand Up @@ -50,7 +48,7 @@ jobs:
uses: docker/build-push-action@v3
with:
platforms: linux/amd64
file: plone-test/py37-node12/Dockerfile
file: plone-test/py37-node14/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN <<EOT
apt update
buildDeps="build-essential ca-certificates curl dirmngr dpkg-dev gcc git gnupg libatomic1 libbluetooth-dev libbz2-dev libc6-dev libdb-dev libexpat1-dev libffi-dev libgdbm-dev libjpeg62-turbo-dev libldap2-dev liblzma-dev libncursesw5-dev libopenjp2-7-dev libpcre3-dev libpq-dev libreadline-dev libsasl2-dev libsqlite3-dev libssl-dev libtiff5-dev libxml2-dev libxslt1-dev make netbase openssh-client python3-dev tk-dev tzdata uuid-dev wget xz-utils zlib1g-dev"
apt install -y --no-install-recommends $buildDeps
curl -sL https://deb.nodesource.com/setup_12.x | bash -
curl -sL https://deb.nodesource.com/setup_14.x | bash -
apt update
apt install -y python3.7-dev python3.7-venv python3-pip
apt install -y nodejs
Expand All @@ -19,8 +19,8 @@ RUN <<EOT
EOT

LABEL maintainer="kitconcept GmbH <server@kitconcept.com>" \
org.label-schema.name="ghcr.io/kitconcept/plone-test-py37-node12" \
org.label-schema.description="Image with Python 3.7 and Node 12" \
org.label-schema.name="ghcr.io/kitconcept/plone-test-py37-node14" \
org.label-schema.description="Image with Python 3.7 and Node 14" \
org.label-schema.vendor="kitconcept GmbH"

CMD ["bash"]

0 comments on commit 5679e55

Please sign in to comment.