Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAPPS-2465: updating packages in dockerfile for wiz fix #117

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

Kat-Alo
Copy link
Collaborator

@Kat-Alo Kat-Alo commented Nov 14, 2023

Rather than the fixes prescribed in the ticket, which call for updating packages that aren't installed, the team has moved to instead update all installed packages like so.

To test:
docker-compose down
docker-compose build
docker-compose up
Confirm the app loads at localhost:3001/klaxon

@Kat-Alo Kat-Alo requested a review from a team as a code owner November 14, 2023 02:51
@Kat-Alo Kat-Alo requested review from paigemoody and karenswang and removed request for a team November 14, 2023 02:51
@@ -3,6 +3,9 @@ FROM public.ecr.aws/docker/library/ruby:2.7.7
# Throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1

# Updating packages
RUN apt update && apt upgrade -yqq

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whichever works. Depends on the OS the base image is using which tools are installed. In this case, apt is fine.

@Kat-Alo Kat-Alo requested review from jakekara and jtotoole and removed request for paigemoody and karenswang November 14, 2023 17:28
@jtotoole jtotoole removed their request for review November 20, 2023 18:59
Copy link

@jakekara jakekara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good and accomplishes our initial approach.

there will definitely be a follow-up because I'm not 💯 that this approach is actually doing anything or not 🙃

@Kat-Alo Kat-Alo merged commit 462be9d into develop Nov 20, 2023
1 check passed
@Kat-Alo Kat-Alo deleted the napps-2465-dockerfile-wiz-fixes branch November 20, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants