about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorWonderfall <wonderfall@targaryen.house>2017-08-30 23:52:19 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-08-30 23:52:19 +0200
commitcecf204bbbf9e5a296b4a6d28ffa1bbe27a741ed (patch)
treeb736c192eadee7f51c6d2fcc03af1281b0831c7f /Dockerfile
parentfec13735a76dd011a60d73ddba235797f79ecb0d (diff)
Update to Alpine 3.6 (#4747)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 6 insertions, 8 deletions
diff --git a/Dockerfile b/Dockerfile
index 398628a48..15138065b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM ruby:2.4.1-alpine
+FROM ruby:2.4.1-alpine3.6
 
 LABEL maintainer="https://github.com/tootsuite/mastodon" \
       description="A GNU Social-compatible microblogging server"
@@ -14,9 +14,7 @@ EXPOSE 3000 4000
 
 WORKDIR /mastodon
 
-RUN echo "@edge https://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
- && echo "@edge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
- && apk -U upgrade \
+RUN apk -U upgrade \
  && apk add -t build-dependencies \
     build-base \
     icu-dev \
@@ -31,15 +29,15 @@ RUN echo "@edge https://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/reposit
     file \
     git \
     icu-libs \
-    imagemagick@edge \
+    imagemagick \
     libidn \
     libpq \
-    nodejs-npm@edge \
-    nodejs@edge \
+    nodejs-npm \
+    nodejs \
     protobuf \
     su-exec \
     tini \
-    yarn@edge \
+    yarn \
  && update-ca-certificates \
  && wget -O libiconv.tar.gz "http://ftp.gnu.org/pub/gnu/libiconv/libiconv-$LIBICONV_VERSION.tar.gz" \
  && echo "$LIBICONV_DOWNLOAD_SHA256 *libiconv.tar.gz" | sha256sum -c - \