Last active
August 28, 2018 12:27
-
-
Save tilsammans/01b947ed2a62c1c71cb6a7d4d35b07aa to your computer and use it in GitHub Desktop.
Source for our Rails CI containers. Repo at https://github.com/spacebabies/rails-ci
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.5.1-slim | |
MAINTAINER Space Babies <[email protected]> | |
LABEL description="Continuous Integration of our Rails apps" | |
# Install dependencies: | |
# - libxml2, zlib1g-dev, liblzma-dev: nokogiri and friends | |
# - libpq-dev: needed to build `pg` | |
# - libmysqlclient-dev: needed to build `mysql2` | |
RUN apt-get update --quiet && apt-get install --no-install-recommends --quiet --yes \ | |
build-essential \ | |
locales \ | |
patch \ | |
libxml2 \ | |
libxml2-dev \ | |
zlib1g-dev \ | |
liblzma-dev \ | |
nodejs \ | |
tzdata \ | |
default-libmysqlclient-dev \ | |
libpq-dev \ | |
git \ | |
pdftk \ | |
imagemagick \ | |
httpie && \ | |
rm -rf /var/lib/apt/lists/* | |
# Generate UTF-8 and make it default locale. | |
RUN dpkg-reconfigure locales && \ | |
locale-gen C.UTF-8 && \ | |
/usr/sbin/update-locale LANG=C.UTF-8 | |
# Our choices go in ENV for everyone to enjoy. | |
ENV LC_ALL C.UTF-8 | |
ENV TZ=UTC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment