Skip to content

Instantly share code, notes, and snippets.

@glowacki-dev
Created March 20, 2018 13:38
Show Gist options
  • Save glowacki-dev/eda2a45e01817f19334af80c7e15db0c to your computer and use it in GitHub Desktop.
Save glowacki-dev/eda2a45e01817f19334af80c7e15db0c to your computer and use it in GitHub Desktop.
Basic Dockerfile for GitLab CI
FROM ruby:2.5.0
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get -qyy install nodejs libpq-dev cmake
COPY Gemfile* /
RUN bundle install --without development production
RUN rm Gemfile*
ENV LANG=C.UTF-8
ENV BUNDLE_GEMFILE=./Gemfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment