Skip to content

Instantly share code, notes, and snippets.

@stchris
Created June 17, 2019 08:17
Show Gist options
  • Save stchris/68686875b7c9290040fc907d60473aa7 to your computer and use it in GitHub Desktop.
Save stchris/68686875b7c9290040fc907d60473aa7 to your computer and use it in GitHub Desktop.
Alpine Linux Dockerfile to install magic-wormhole
# This installs https://github.com/warner/magic-wormhole (a nifty
# utility to securely send stuff from one computer to another) on
# Alpine Linux
FROM alpine
RUN apk update && apk add build-base python3-dev libffi-dev openssl-dev && pip3 install magic-wormhole
@oezh
Copy link

oezh commented Nov 29, 2020

Now pip3 doesn't install with python3-dev. You have to install it manually as apk add py3-pip
Thanks for the install instruction, Magic-Wormhole is working flawlessly in Alpine.

@inlightmedia
Copy link

I found I had to run pip install --upgrade pip after running apk add py3-pip to get it to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment