summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Stanclift <mx@vmstan.com>2023-11-28 14:44:04 -0600
committerGitHub <noreply@github.com>2023-11-28 20:44:04 +0000
commit7a3b41eb54f24545854da6bb364f240fceff3c2f (patch)
treed6696f8fd0c470b91db842269096501e892247b3
parent6b46bf99539112cb119958a5d79ffa46fe9c0a9c (diff)
Fix incorrect apt-get install block in Dockerfile (#28112)
-rw-r--r--Dockerfile24
1 files changed, 1 insertions, 23 deletions
diff --git a/Dockerfile b/Dockerfile
index 623a4d4eab5..73267f38064 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -177,29 +177,7 @@ FROM build as yarn
ARG TARGETPLATFORM
# Copy Node package configuration files into working directory
-RUN apt-get update && \
- apt-get -yq dist-upgrade && \
- apt-get install -y --no-install-recommends build-essential \
- git \
- libicu-dev \
- libidn-dev \
- libpq-dev \
- libjemalloc-dev \
- zlib1g-dev \
- libgdbm-dev \
- libgmp-dev \
- libssl-dev \
- libyaml-dev \
- ca-certificates \
- libreadline8 \
- python3 \
- shared-mime-info && \
- bundle config set --local deployment 'true' && \
- bundle config set --local without 'development test' && \
- bundle config set silence_root_warning true && \
- corepack enable
-
-COPY Gemfile* package.json yarn.lock .yarnrc.yml /opt/mastodon/
+COPY package.json yarn.lock .yarnrc.yml /opt/mastodon/
COPY streaming/package.json /opt/mastodon/streaming/
COPY .yarn /opt/mastodon/.yarn