-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "use Node.js 20 (current LTS) and Debian 12 in Dockerfile"
This reverts commit cec6cce.
- Loading branch information
Showing
2 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:12-slim | ||
FROM debian:11-slim | ||
MAINTAINER Dirk Stolle <[email protected]> | ||
|
||
LABEL org.opencontainers.image.authors="Dirk Stolle <[email protected]>" | ||
|
@@ -7,21 +7,22 @@ LABEL org.opencontainers.image.licenses=GPL-3.0-or-later | |
|
||
# Always update package lists and install updates first. | ||
# HTTPS transport for APT is required to get the Node.js packages. | ||
# curl, GnuPG and CA certificates are needed to get the key for the Nodesource | ||
# wget, GnuPG and CA certificates are needed to get the key for the Nodesource | ||
# APT repository. | ||
# Finally, libfontconfig is required during execution to get font rendering. | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update && apt-get upgrade -y && \ | ||
apt-get install --no-install-recommends -y \ | ||
apt-transport-https \ | ||
curl \ | ||
wget \ | ||
gnupg2 \ | ||
dirmngr \ | ||
ca-certificates \ | ||
libfontconfig1 | ||
# Node.js is required to run this application. | ||
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \ | ||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" > /etc/apt/sources.list.d/nodejs.list | ||
RUN echo "# Node.js 14.x for Debian 11 (codename bullseye)" > /etc/apt/sources.list.d/nodejs.list \ | ||
&& echo "deb https://deb.nodesource.com/node_14.x bullseye main" >> /etc/apt/sources.list.d/nodejs.list \ | ||
&& echo "deb-src https://deb.nodesource.com/node_14.x bullseye main" >> /etc/apt/sources.list.d/nodejs.list | ||
RUN apt-key adv --fetch-keys https://deb.nodesource.com/gpgkey/nodesource.gpg.key | ||
RUN apt-get update && apt-get install --no-install-recommends -y nodejs | ||
# Create directory for application. | ||
RUN mkdir -p /opt/export-server | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters