Skip to content

Commit

Permalink
Fix docker build error on gem install sass (#26)
Browse files Browse the repository at this point in the history
Added apt-get install build-essential ruby ruby-dev ruby-ffi to fix error on docker build, error output was gem install sass fail. Update to ENV version constants.
  • Loading branch information
diegopintog authored and MichaelBitard committed Feb 24, 2018
1 parent 305757e commit 70a2e8c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ionic-framework/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ LABEL maintainer="bitard [dot] michael [at] gmail [dot] com"

ENV DEBIAN_FRONTEND=noninteractive \
ANDROID_HOME=/opt/android-sdk-linux \
NODE_VERSION=8.9.1 \
NPM_VERSION=5.5.1 \
IONIC_VERSION=3.18.0 \
CORDOVA_VERSION=7.1.0 \
GRADLE_VERSION=4.3
NODE_VERSION=8.9.4 \
NPM_VERSION=5.6.0 \
IONIC_VERSION=3.19.1 \
CORDOVA_VERSION=8.0.0 \
GRADLE_VERSION=4.5.1

# Install basics
RUN apt-get update && \
apt-get install -y git wget curl unzip ruby ruby-dev gcc make && \
apt-get install -y git wget curl unzip build-essential ruby ruby-dev ruby-ffi gcc make && \
curl --retry 3 -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" && \
tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 && \
rm "node-v$NODE_VERSION-linux-x64.tar.gz" && \
Expand Down

0 comments on commit 70a2e8c

Please sign in to comment.