docker-scripts/linux/ecosystem/nodejs/node19/Dockerfile
STAM 61938a770d
big rework
bump versions

updated `LazyGIT` to `0.40.2`

converterd some envs to args

sources.list fix + nextcloud updates

python fix

java fixes

python fix

java fixes

bitbucket full images
2024-02-09 13:48:51 +03:00

38 lines
1.4 KiB
Docker

FROM epicmorg/debian:bullseye
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# Node.js 19.x
##################################################################
RUN groupadd node && \
useradd --gid node --shell /bin/bash --create-home node
RUN curl -sL https://deb.nodesource.com/setup_19.x | bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
apt-get clean && apt-get autoclean && \
apt-get update && \
apt-get install -y nodejs yarn && \
npm install -g pnpm
# curl -L https://www.npmjs.com/install.sh | sh
# npm install -g npm
RUN echo "=============================================" && \
echo node $(node --version) && \
echo npm $(npm --version) && \
echo yarn $(yarn --version) && \
echo pnpm $(pnpm --version) && \
echo "============================================="
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*