Skip to content

Commit 70aada5

Browse files
authored
Update Dockerfile
1 parent 317d1d6 commit 70aada5

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ RUN apt-get install -y software-properties-common curl build-essential \
2121
RUN curl -s https://packagecloud.io/gpg.key | apt-key add - && \
2222
echo "deb http://packages.blackfire.io/debian any main" | tee /etc/apt/sources.list.d/blackfire.list && \
2323
curl --silent --location https://deb.nodesource.com/setup_6.x | bash - && \
24+
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
25+
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list && \
2426
apt-get update
2527

2628
# set the locale
@@ -74,8 +76,8 @@ RUN phpenmod mcrypt && \
7476
mkdir -p /run/php/ && chown -Rf www-data.www-data /run/php
7577

7678
# install sqlite
77-
RUN apt-get install -y --force-yes sqlite3 libsqlite3-dev
78-
RUN apt-get install -y --force-yes redis-server
79+
RUN apt-get install -y --force-yes sqlite3 libsqlite3-dev
80+
RUN apt-get install -y --force-yes redis-server
7981
RUN apt-get install -y --force-yes postgresql postgresql-contrib
8082

8183
# install mysql
@@ -113,9 +115,6 @@ RUN /usr/bin/npm install -g gulp
113115
# install bower
114116
RUN /usr/bin/npm install -g bower
115117

116-
# install redis
117-
RUN apt-get install -y redis-server
118-
119118
# install blackfire
120119
RUN apt-get install -y blackfire-agent blackfire-php
121120

@@ -131,6 +130,9 @@ RUN apt-get install -y supervisor && \
131130
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
132131
VOLUME ["/var/log/supervisor"]
133132

133+
# install yarn
134+
RUN apt-get install -y yarn
135+
134136
# clean up our mess
135137
RUN apt-get remove --purge -y software-properties-common && \
136138
apt-get autoremove -y && \

0 commit comments

Comments
 (0)