
The image was broken , It spit out a error: `[09:00:13][Error] Error loading "libcsharp-module.so", Unix error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: Version `GLIBCXX_3.4.26' not found (required by /home/container/modules/libcsharp-module.so)`
32 lines
1.3 KiB
Docker
32 lines
1.3 KiB
Docker
# ----------------------------------
|
|
# Environment: debian
|
|
# ----------------------------------
|
|
FROM node:16-bullseye
|
|
|
|
LABEL author="goover" maintainer="info@goover.de"
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN useradd -m -d /home/container -s /bin/bash container
|
|
|
|
RUN apt update -y \
|
|
&& apt upgrade -y \
|
|
&& apt install -y g++ gcc libgcc-s1 lib32gcc-s1 gdb libstdc++6 libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools netcat telnet libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
|
libfontconfig1 libicu67 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadb-dev libduktape205 locales ffmpeg gnupg2 apt-transport-https software-properties-common ca-certificates tzdata \
|
|
python3 dnsutils build-essential coreutils jq pcregrep
|
|
|
|
RUN wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
|
&& dpkg -i packages-microsoft-prod.deb \
|
|
&& apt update -y \
|
|
&& apt install -y dotnet-sdk-5.0 dotnet-sdk-6.0 libgdiplus
|
|
|
|
RUN update-locale lang=en_US.UTF-8 \
|
|
&& dpkg-reconfigure --frontend noninteractive locales
|
|
|
|
USER container
|
|
ENV USER=container HOME=/home/container
|
|
WORKDIR /home/container
|
|
|
|
COPY ./entrypoint.sh /entrypoint.sh
|
|
CMD ["/bin/bash", "/entrypoint.sh"]
|