anchor.diff:      build-base \
       icu-dev \
       libidn-dev \
  -    libxml2-dev \
  -    libxslt-dev \
  +    libtool \
       postgresql-dev \
       protobuf-dev \
       python \
  
positive.code:     tini \
      yarn@edge \
   && update-ca-certificates \
   && rm -rf /tmp/* /var/cache/apk/*
  
  COPY Gemfile Gemfile.lock package.json yarn.lock /mastodon/
  
  RUN bundle install --deployment --without test development \
   && yarn --ignore-optional --pure-lockfile
  
  COPY . /mastodon
  
negative.code: ENV UID=991 GID=991 \
      RAILS_SERVE_STATIC_FILES=true \
      RAILS_ENV=production NODE_ENV=production
  
  ARG LIBICONV_VERSION=1.15
  ARG LIBICONV_DOWNLOAD_SHA256=ccf536620a45458d26ba83887a983b96827001e92a13847b45e4925cc8913178
  
  EXPOSE 3000 4000
  
  