Skip to content

Commit

Permalink
fix issue #3 with linux/arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
xquery committed Jun 6, 2023
1 parent 282a3b6 commit 43a7d86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions create_base_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ buildah run $ctr curl https://curl.se/ca/cacert.pem -L -o /cacert.pem
buildah config --env CURL_CA_BUNDLE="/cacert.pem" $ctr

# setup curl_group and curl_user though it is not used
buildah run $ctr addgroup -S curl_group
buildah run $ctr adduser -S curl_user -G curl_group
#buildah run $ctr addgroup -S curl_group
#buildah run $ctr adduser -S curl_user -G curl_group
#unable to find user curl_user: no matching entries in passwd file
buildah run $ctr addgroup -S curl_group && adduser -S curl_user -G curl_group

# set entrypoint
buildah config --cmd curl $ctr
Expand Down

0 comments on commit 43a7d86

Please sign in to comment.