Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Upgrade to alpine 3.14 #43

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.13
FROM alpine:3.14

RUN apk --update --no-cache add nodejs npm python3 py3-pip jq curl bash git docker && \
ln -sf /usr/bin/python3 /usr/bin/python
Expand Down
7 changes: 7 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ function installPipRequirements(){
}

function runCdk(){
user=$(stat -c "%u" node_modules)
group=$(stat -c "%g" node_modules)
addgroup -g $group github
adduser -u $user -G github -D github
mkdir -p cdk.out
chown github:github cdk.out

echo "Run cdk ${INPUT_CDK_SUBCOMMAND} ${*} \"${INPUT_CDK_STACK}\""
set -o pipefail
cdk ${INPUT_CDK_SUBCOMMAND} ${*} "${INPUT_CDK_STACK}" 2>&1 | tee output.log
Expand Down