From 220a1f249870211afffbfdf3270a632fd1aa4af8 Mon Sep 17 00:00:00 2001 From: Rocket Date: Fri, 14 Jun 2024 13:45:01 -0700 Subject: [PATCH] Install wget. Reformat --- app-rails/Dockerfile | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/app-rails/Dockerfile b/app-rails/Dockerfile index dc36d21..3470c5c 100644 --- a/app-rails/Dockerfile +++ b/app-rails/Dockerfile @@ -93,13 +93,20 @@ ENV RAILS_ENV="production" \ BUNDLE_PATH="/usr/local/bundle" # Install packages needed for deployment -RUN apt-get update -qq && \ - apt-get install -y --no-install-recommends unzip python3-venv python-is-python3 curl libvips postgresql-client && \ - rm -rf /var/lib/apt/lists /var/cache/apt/archives && \ - curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" && \ - unzip awscli-bundle.zip && \ - ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws && \ - rm -rf ./awscli-bundle awscli-bundle.zip +RUN apt-get update -qq \ + && apt-get install -y --no-install-recommends \ + curl \ + libvips \ + postgresql-client \ + python-is-python3 \ + python3-venv \ + unzip \ + wget \ + && rm -rf /var/lib/apt/lists /var/cache/apt/archives \ + && curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" \ + && unzip awscli-bundle.zip \ + && ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws \ + && rm -rf ./awscli-bundle awscli-bundle.zip # Install custom db migrate script COPY bin/db-migrate /usr/bin/