Skip to content

Commit

Permalink
Change CMD to -v
Browse files Browse the repository at this point in the history
Two weeks ago, there was a PR which made Packer's Docker builder copy
CMD and ENTRYPOINT from the base image unless overriden in the packer
build file.  As a result, the RACK Box image now has a non-null CMD
"/bin/bash" coming from the base Ubuntu image, which prevents the RACK
Box from starting when run in Docker.  Make the packer build file
override CMD to "-v" which will allow the RACK Box to start up.
  • Loading branch information
tuxji committed Jan 8, 2024
1 parent edec34e commit e54a8b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rack-box/rack-box-docker.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"type": "docker",

"changes": [
"CMD [ \"-v\" ]",
"ENTRYPOINT [ \"/usr/bin/python3\", \"/usr/bin/systemctl\" ]"
],
"commit": true,
Expand Down

0 comments on commit e54a8b0

Please sign in to comment.