Created
March 11, 2020 14:48
-
-
Save EdgarOrtegaRamirez/745936e5a8c3ccdcb0a81567dbac6230 to your computer and use it in GitHub Desktop.
Docker Image – Ruby 2.6.2 / Alpine Linux 3.9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ruby:2.6.2-alpine3.9 | |
LABEL Version 2.6.2 | |
LABEL Name Ruby-Node-Browsers | |
RUN gem install bundler -v 1.17.3 \ | |
&& gem cleanup all | |
RUN apk add --no-cache --update \ | |
bash \ | |
build-base \ | |
curl \ | |
curl-dev \ | |
fontconfig \ | |
git \ | |
linux-headers \ | |
nodejs \ | |
postgresql-client \ | |
postgresql-dev \ | |
openssh \ | |
tzdata | |
# install dockerize | |
RUN DOCKERIZE_URL="https://circle-downloads.s3.amazonaws.com/circleci-images/cache/linux-amd64/dockerize-latest.tar.gz" \ | |
&& curl --silent --show-error --location --fail --retry 3 --output /tmp/dockerize-linux-amd64.tar.gz $DOCKERIZE_URL \ | |
&& tar -C /usr/local/bin -xzvf /tmp/dockerize-linux-amd64.tar.gz \ | |
&& rm -rf /tmp/dockerize-linux-amd64.tar.gz \ | |
&& dockerize --version | |
# install phantomjs | |
RUN mkdir -p /usr/share \ | |
&& cd /usr/share \ | |
&& curl --silent --show-error --location --fail --retry 3 https://github.com/Overbryd/docker-phantomjs-alpine/releases/download/2.11/phantomjs-alpine-x86_64.tar.bz2 | tar xj \ | |
&& ln -s /usr/share/phantomjs/phantomjs /usr/bin/phantomjs \ | |
&& phantomjs --version | |
RUN apk del curl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment