I have a Dockerfile that uses ruby:2.7.1-alpine
base image. I have a gem that needs libcurl
, which I am having troubles installing on the Alpine image. I saw a solution on a GitHub issue associate with the aforementioned gem. But that solution assumes a Debian-based OS, which mentions installing libcurl4-openssl-dev
. What I need is the equivalent of this package on Alpine.
Docker: Installing libcurl4-openssl-dev equivalent on Alpine
Asked Answered
The equivalent package is curl-dev
. Run:
apk add curl-dev
Source: See APT <-> APK packages table in this GitHub Issue.
© 2022 - 2024 — McMap. All rights reserved.