Dockerfile in active_metrics-0.0.1 vs Dockerfile in active_metrics-0.0.2
- old
+ new
@@ -1,6 +1,6 @@
-FROM ruby:2.4.2-slim
+FROM ruby:2.5.0
# Bundler options
#
# The default value is taken from Travis's build options, so they should be
# good enough for most cases. For development, be sure to set a blank default
@@ -13,21 +13,9 @@
#
# During development, make sure that the APP_DIR environment variable is
# identical to the variable in your docker-compose.override.yml file,
# otherwise things might not work as expected.
ENV APP_DIR="/opt/active_metrics"
-
-# Install required packages
-RUN apt-get update -y \
- && apt-get install -y --no-install-recommends \
- git-core \
- build-essential \
- libffi-dev \
- libxml2-dev \
- libssl-dev \
- libcurl4-gnutls-dev \
- apt-utils \
- && rm -rf /var/lib/apt/lists/*
# Create a non-root user
RUN groupadd -r travis \
&& useradd -m -r -g travis travis
RUN mkdir -p ${APP_DIR} \
\ No newline at end of file