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

Add missing libssl-dev library and remove explicit addition of npm #289

Merged
merged 1 commit into from
May 21, 2024

Conversation

tharsheblows
Copy link
Contributor

Fixes #(no issue)

Running npm run start failed for two different reasons, I made a video of it but also I can write everything down if you'd like
https://www.loom.com/share/e69a0d93eba0402996dbff42630bb596

Tasks

  • Fix node / npm error
  • Fix memcached error

Describe the Approach

  • removed npm from Dockerfile
  • added libssl-dev

@tharsheblows tharsheblows requested a review from kasparsd March 22, 2024 16:06
Copy link
Contributor

@kasparsd kasparsd left a comment

Choose a reason for hiding this comment

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

This is great, thanks for fixing it!

&& rm -rf /var/lib/apt/lists/*

# Install Node.js per recommended setup.
RUN mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_VERSION}.x nodistro main" >> /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get -y --no-install-recommends install nodejs npm \
Copy link
Contributor

Choose a reason for hiding this comment

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

praise: Thanks for fixing this. I noticed this issue as well but didn't get to fixing it upstream.

@landbryo landbryo self-requested a review May 21, 2024 19:32
Copy link

@landbryo landbryo left a comment

Choose a reason for hiding this comment

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

I just had to re-discover these fixes as well. Approved. Can we merge?

@tharsheblows tharsheblows merged commit a5bdc3c into master May 21, 2024
3 checks passed
@tharsheblows tharsheblows deleted the fix/dockerfile-npm-memcached branch May 21, 2024 23:30
@tharsheblows
Copy link
Contributor Author

@landbryo I've merged it in -- sorry I missed this I think? I did merge in the Pantheon one and probably conflated them.

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