wget installation fails on Alpine during Dockerfile build #5754
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
When I ran
./run pnpm install
, I encountered an issue where/root/.shrc
could not be found.Tracing the Dockerfile, I discovered that the installation of pnpm was failing because
wget
was failed on Alpine as reported in Yelp/dumb-init#73 .As indicated there, adding the following line allows it to work correctly:
Additionally, the reason I didn't notice this bug immediately is that errors in the middle of a pipe do not propagate. We should add
set -o pipefail
.Steps to reproduce
Screenshots
No response
Code Sample
No response
Setup
Suggested Solutions
RUN apk --no-cache add openssl wget
Additional Context
No response
The text was updated successfully, but these errors were encountered: