|
|
@ -48,7 +48,7 @@ RUN echo "@edge https://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/reposit
|
|
|
|
&& rm libiconv.tar.gz \
|
|
|
|
&& rm libiconv.tar.gz \
|
|
|
|
&& cd /tmp/src/libiconv-$LIBICONV_VERSION \
|
|
|
|
&& cd /tmp/src/libiconv-$LIBICONV_VERSION \
|
|
|
|
&& ./configure --prefix=/usr/local \
|
|
|
|
&& ./configure --prefix=/usr/local \
|
|
|
|
&& make \
|
|
|
|
&& make -j$(getconf _NPROCESSORS_ONLN)\
|
|
|
|
&& make install \
|
|
|
|
&& make install \
|
|
|
|
&& libtool --finish /usr/local/lib \
|
|
|
|
&& libtool --finish /usr/local/lib \
|
|
|
|
&& cd /mastodon \
|
|
|
|
&& cd /mastodon \
|
|
|
@ -57,7 +57,7 @@ RUN echo "@edge https://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/reposit
|
|
|
|
COPY Gemfile Gemfile.lock package.json yarn.lock /mastodon/
|
|
|
|
COPY Gemfile Gemfile.lock package.json yarn.lock /mastodon/
|
|
|
|
|
|
|
|
|
|
|
|
RUN bundle config build.nokogiri --with-iconv-lib=/usr/local/lib --with-iconv-include=/usr/local/include \
|
|
|
|
RUN bundle config build.nokogiri --with-iconv-lib=/usr/local/lib --with-iconv-include=/usr/local/include \
|
|
|
|
&& bundle install --deployment --without test development \
|
|
|
|
&& bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without test development \
|
|
|
|
&& yarn --ignore-optional --pure-lockfile
|
|
|
|
&& yarn --ignore-optional --pure-lockfile
|
|
|
|
|
|
|
|
|
|
|
|
COPY . /mastodon
|
|
|
|
COPY . /mastodon
|
|
|
|