Skip to content

Instantly share code, notes, and snippets.

@grohiro
Created October 8, 2019 07:27
Show Gist options
  • Select an option

  • Save grohiro/d48e9d2e1a6d843d4e0b7104842a4ffa to your computer and use it in GitHub Desktop.

Select an option

Save grohiro/d48e9d2e1a6d843d4e0b7104842a4ffa to your computer and use it in GitHub Desktop.
docker-alpine-build-tools
RUN apk update && \
apk upgrade && \
apk add --update --no-cache --virtual=.build-dependencies \
build-base \
curl-dev \
linux-headers \
libxml2-dev \
libxslt-dev \
postgresql-dev \
mysql-dev \
ruby-dev \
yaml-dev \
git \
zlib-dev && \
apk add --update --no-cache \
bash && \
apk del .build-dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment