Skip to content

Commit

Permalink
fix extra_pkgs format
Browse files Browse the repository at this point in the history
  • Loading branch information
rferrazz committed May 28, 2021
1 parent 34baf91 commit 48db933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-env
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function extract_payload {
# $1 workdir
function create_dockerfile {
ubuntu_version=`jq -cr '.host_ubuntu_version' ${VOLUME_NAME}/manifest.json`
extra_pkgs=`jq -cr '.extra_pkgs // ""' ${VOLUME_NAME}/manifest.json`
extra_pkgs=`jq -r '.extra_pkgs // "" | @sh' ${VOLUME_NAME}/manifest.json`
mv Dockerfile.template Dockerfile
sed -i "" -e "s/@UBUNTU_VERSION@/${ubuntu_version}/" Dockerfile
sed -i "" -e "s/@EXTRA_PKGS@/${extra_pkgs}/" Dockerfile
Expand Down

0 comments on commit 48db933

Please sign in to comment.