Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Simplify Dockerfile
  • Loading branch information
heycarsten committed Dec 21, 2018
1 parent 5dee97f commit 1cd8c45
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions Dockerfile.dev
Expand Up @@ -9,8 +9,9 @@ ENV PATH=/lcboapi/bin:$PATH
ENV HOME=/lcboapi

# Install basics
RUN apt-get -qq update && \
DEBIAN_FRONTEND=noninteractive apt-get -y -qq install \
RUN DEBIAN_FRONTEND=noninteractive \
apt-get -yqq update && \
apt-get -yqq install \
software-properties-common \
apt-transport-https \
build-essential \
Expand All @@ -19,15 +20,11 @@ RUN apt-get -qq update && \
libssl-dev \
acl \
zip \
pv \
postgresql-client-$POSTGRES_VERSION \
libpq-dev

# Install Node and Yarn for Rails AssetPipeline (5.2+)
RUN curl -sL https://deb.nodesource.com/setup_$NODE_DIST | bash - && \
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt-get -y -qq update && \
DEBIAN_FRONTEND=noninteractive apt-get -y -qq install nodejs yarn
libpq-dev \
nodejs \
yarn

RUN mkdir -p $HOME

Expand Down

0 comments on commit 1cd8c45

Please sign in to comment.