Skip to content

Commit

Permalink
chore(ci): upgrade base image to use node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
andypf committed Aug 30, 2024
1 parent 35caed1 commit 619d0e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ci/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# docker run --rm -it --name juno -v /workspace/juno:/juno -v /workspace/temp/juno/:/tmp juno-base:latest /bin/bash
# docker run --rm -it --name juno -v /workspace/juno:/juno -v /workspace/temp/juno/:/tmp keppel.eu-de-1.cloud.sap/ccloud/juno-v3-base:latest /bin/bash

FROM keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/node:18-alpine
FROM keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/node:20-alpine

LABEL source_repository="https://github.com/sapcc/juno"

Expand Down
7 changes: 3 additions & 4 deletions ci/pipeline.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,9 @@ jobs:
- |
set -e
ls -la
cd ./latest/<%=details[:type]%>s/<%=name%>
echo "update node modules -> npm install"
npm install
cd ../../
cd ./latest
npm ci --only=production
cd ../
echo ""
/juno/ci/scripts/asset_build.sh --asset-name <%= name %> --asset-type <%= details[:type] %> --output-path ../build_result <% if details[:type] == "lib" %> --last-build-path ../last_build <% end %>
- task: sync
Expand Down

0 comments on commit 619d0e9

Please sign in to comment.