delete nodejs and change apt-get to apt

This commit is contained in:
Oskar 2022-05-14 20:40:36 +02:00 committed by GitHub
parent 35fe40fd84
commit 14eb70cafd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 9 deletions

View File

@ -1,14 +1,8 @@
FROM registry.gitlab.com/fdroid/docker-executable-fdroidserver:latest
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install Node.js
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash \
&& apt-get install -y nodejs \
&& apt-get clean \
RUN apt update \
&& apt upgrade -y \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT []