Updates Dockerfile to install wget for the release target
Context for reviewers
Background context, more in-depth details of the implementation, and anything else you'd like to call out or ask reviewers.
wget is used by default for the infrastructure template ELB healthcheck. This PR adds wget to the production release image.
Testing
Provide testing instructions and evidence that the code works as expected. Include screenshots, GIF demos, shell commands or output to help show the changes working as expected. ProTip: you can drag and drop or paste images into this textbox.
Test this PR by using the mock-production docker compose:
Checkout this branch: git checkout rocket/install-wget
Change to the application directory: cd app-rails
Initialize the container: make init-container DOCKER_COMPOSE_ARGS="-f ../docker-compose.mock-production.yml"
Ticket
Changes
Dockerfile
to installwget
for therelease
targetContext for reviewers
wget
is used by default for the infrastructure template ELB healthcheck. This PR addswget
to the production release image.Testing
Test this PR by using the mock-production docker compose:
git checkout rocket/install-wget
cd app-rails
make init-container DOCKER_COMPOSE_ARGS="-f ../docker-compose.mock-production.yml"
release
Dockerfile stage. See the container-images documentation for more information..env
details in/app-rails/.env
make start-container DOCKER_COMPOSE_ARGS="-f ../docker-compose.mock-production.yml"
docker compose -f ../docker-compose.mock-production.yml exec app-rails bash
which
to verify thatwget
is installed. For example: