Skip to content

Commit

Permalink
node: bump to v20
Browse files Browse the repository at this point in the history
  • Loading branch information
dadevel committed Oct 17, 2024
1 parent 852dd7e commit 4066871
Show file tree
Hide file tree
Showing 9 changed files with 61 additions and 61 deletions.
14 changes: 7 additions & 7 deletions cxx/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install --no-install-recommends -y build-essential ca-certificates curl git libcap2-bin && \
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
ENV LANG=C.UTF-8 \
CHARSET=UTF-8 \
TZ=UTC \
CFLAGS="-Os -pipe -flto -fstack-protector-strong --param=ssp-buffer-size=4 -fstack-clash-protection -fpie -fexceptions -fasynchronous-unwind-tables" \
CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS" \
CXXFLAGS=$CFLAGS \
LDFLAGS="-Wl,-O1,-z,defs,-z,relro,-z,now,-pie,--hash-style=gnu,--no-copy-dt-needed-entries"
ENV LANG=C.UTF-8
ENV CHARSET=UTF-8
ENV TZ=UTC
ENV CFLAGS="-Os -pipe -flto -fstack-protector-strong --param=ssp-buffer-size=4 -fstack-clash-protection -fpie -fexceptions -fasynchronous-unwind-tables"
ENV CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS"
ENV CXXFLAGS=$CFLAGS
ENV LDFLAGS="-Wl,-O1,-z,defs,-z,relro,-z,now,-pie,--hash-style=gnu,--no-copy-dt-needed-entries"
WORKDIR /build
18 changes: 9 additions & 9 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ groupadd --gid $PGID app && \
useradd --uid $PUID --gid $PGID --comment '' --home-dir /dev/shm --no-create-home --shell /bin/bash --no-log-init app && \
mkdir -p $PREFIX/bin $PREFIX/lib $PREFIX/static $PREFIX/config $PREFIX/data && \
chown -R $PUID:$PGID $PREFIX
ENV PATH=$PREFIX/bin:$PATH \
LD_LIBRARY_PATH=$PREFIX/lib \
HOME=/dev/shm \
XDG_RUNTIME_DIR=/dev/shm \
TMPDIR=/dev/shm \
LANG=$LANGUAGE.$CHARSET \
LANGUAGE=$LANGUAGE \
CHARSET=$CHARSET \
TZ=$TIMEZONE
ENV PATH=$PREFIX/bin:$PATH
ENV LD_LIBRARY_PATH=$PREFIX/lib
ENV HOME=/dev/shm
ENV XDG_RUNTIME_DIR=/dev/shm
ENV TMPDIR=/dev/shm
ENV LANG=$LANGUAGE.$CHARSET
ENV LANGUAGE=$LANGUAGE
ENV CHARSET=$CHARSET
ENV TZ=$TIMEZONE
WORKDIR $PREFIX
16 changes: 8 additions & 8 deletions go/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install --no-install-recommends -y build-essential ca-certificates curl git libcap2-bin && \
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
ENV LANG=C.UTF-8 \
CHARSET=UTF-8 \
TZ=UTC \
CFLAGS="-Os -pipe -flto -fstack-protector-strong --param=ssp-buffer-size=4 -fstack-clash-protection -fpie -fexceptions -fasynchronous-unwind-tables" \
CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS" \
CXXFLAGS=$CFLAGS \
LDFLAGS="-Wl,-O1,-z,defs,-z,relro,-z,now,-pie,--hash-style=gnu,--no-copy-dt-needed-entries" \
CGO_ENABLED=0
ENV LANG=C.UTF-8
ENV CHARSET=UTF-8
ENV TZ=UTC
ENV CFLAGS="-Os -pipe -flto -fstack-protector-strong --param=ssp-buffer-size=4 -fstack-clash-protection -fpie -fexceptions -fasynchronous-unwind-tables"
ENV CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS"
ENV CXXFLAGS=$CFLAGS
ENV LDFLAGS="-Wl,-O1,-z,defs,-z,relro,-z,now,-pie,--hash-style=gnu,--no-copy-dt-needed-entries"
ENV CGO_ENABLED=0
WORKDIR /build
16 changes: 8 additions & 8 deletions node/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
ARG NODE_VERSION=16
ARG NODE_VERSION=20
ARG DEBIAN_VERSION=bookworm
FROM docker.io/library/node:$NODE_VERSION-$DEBIAN_VERSION-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install --no-install-recommends -y build-essential ca-certificates curl git libcap2-bin && \
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
ENV LANG=C.UTF-8 \
CHARSET=UTF-8 \
TZ=UTC \
CFLAGS="-Os -pipe -flto -fstack-protector-strong --param=ssp-buffer-size=4 -fstack-clash-protection -fpie -fexceptions -fasynchronous-unwind-tables" \
CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS" \
CXXFLAGS=$CFLAGS \
LDFLAGS="-Wl,-O1,-z,defs,-z,relro,-z,now,-pie,--hash-style=gnu,--no-copy-dt-needed-entries"
ENV LANG=C.UTF-8
ENV CHARSET=UTF-8
ENV TZ=UTC
ENV CFLAGS="-Os -pipe -flto -fstack-protector-strong --param=ssp-buffer-size=4 -fstack-clash-protection -fpie -fexceptions -fasynchronous-unwind-tables"
ENV CXXFLAGS=$CFLAGS
ENV CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS"
ENV LDFLAGS="-Wl,-O1,-z,defs,-z,relro,-z,now,-pie,--hash-style=gnu,--no-copy-dt-needed-entries"
WORKDIR /build
18 changes: 9 additions & 9 deletions python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ groupadd --gid $PGID app && \
useradd --uid $PUID --gid $PGID --comment '' --home-dir /dev/shm --no-create-home --shell /bin/bash --no-log-init app && \
mkdir -p $PREFIX/bin $PREFIX/lib $PREFIX/static $PREFIX/config $PREFIX/data && \
chown -R $PUID:$PGID $PREFIX
ENV PATH=$PREFIX/bin:$PATH \
LD_LIBRARY_PATH=$PREFIX/lib \
HOME=/dev/shm \
XDG_RUNTIME_DIR=/dev/shm \
TMPDIR=/dev/shm \
LANG=$LANGUAGE.$CHARSET \
LANGUAGE=$LANGUAGE \
CHARSET=$CHARSET \
TZ=$TIMEZONE
ENV PATH=$PREFIX/bin:$PATH
ENV LD_LIBRARY_PATH=$PREFIX/lib
ENV HOME=/dev/shm
ENV XDG_RUNTIME_DIR=/dev/shm
ENV TMPDIR=/dev/shm
ENV LANG=$LANGUAGE.$CHARSET
ENV LANGUAGE=$LANGUAGE
ENV CHARSET=$CHARSET
ENV TZ=$TIMEZONE
WORKDIR $PREFIX
14 changes: 7 additions & 7 deletions python/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install --no-install-recommends -y build-essential ca-certificates curl git libcap2-bin && \
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
ENV LANG=C.UTF-8 \
CHARSET=UTF-8 \
TZ=UTC \
CFLAGS="-Os -pipe -flto -fstack-protector-strong --param=ssp-buffer-size=4 -fstack-clash-protection -fpie -fexceptions -fasynchronous-unwind-tables" \
CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS" \
CXXFLAGS=$CFLAGS \
LDFLAGS="-Wl,-O1,-z,defs,-z,relro,-z,now,-pie,--hash-style=gnu,--no-copy-dt-needed-entries"
ENV LANG=C.UTF-8
ENV CHARSET=UTF-8
ENV TZ=UTC
ENV CFLAGS="-Os -pipe -flto -fstack-protector-strong --param=ssp-buffer-size=4 -fstack-clash-protection -fpie -fexceptions -fasynchronous-unwind-tables"
ENV CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS"
ENV CXXFLAGS=$CFLAGS
ENV LDFLAGS="-Wl,-O1,-z,defs,-z,relro,-z,now,-pie,--hash-style=gnu,--no-copy-dt-needed-entries"
WORKDIR /build
2 changes: 1 addition & 1 deletion stdiscosrv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN strip ./stdiscosrv

FROM ghcr.io/dadevel/debian:latest
COPY --from=stdiscosrv /build/stdiscosrv ./bin/
RUN stdiscosrv -version
RUN stdiscosrv -v
USER app
ENTRYPOINT ["stdiscosrv", "-cert=./data/cert.pem", "-key=./data/key.pem", "-db-dir=./data/disco.db"]
CMD ["-listen=:8443", "-replication-listen=:19200", "-metrics-listen=:19201", "-http"]
Expand Down
6 changes: 3 additions & 3 deletions syncthing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ RUN strip ./syncthing

FROM ghcr.io/dadevel/debian:latest
COPY --from=syncthing /build/syncthing ./bin/
ENV HOME=/app/home \
STGUIADDRESS=0.0.0.0:8384 \
STNODEFAULTFOLDER=true
ENV HOME=/app/home
ENV STGUIADDRESS=0.0.0.0:8384
ENV STNODEFAULTFOLDER=true
RUN syncthing -version
USER app
ENTRYPOINT ["syncthing", "-logfile=-", "-logflags=0", "-home", "./config", "-no-browser", "-no-restart"]
Expand Down
18 changes: 9 additions & 9 deletions ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ groupadd --gid $PGID app && \
useradd --uid $PUID --gid $PGID --comment '' --home-dir /dev/shm --no-create-home --shell /bin/bash --no-log-init app && \
mkdir -p $PREFIX/bin $PREFIX/lib $PREFIX/static $PREFIX/config $PREFIX/data && \
chown -R $PUID:$PGID $PREFIX
ENV PATH=$PREFIX/bin:$PATH \
LD_LIBRARY_PATH=$PREFIX/lib \
HOME=/dev/shm \
XDG_RUNTIME_DIR=/dev/shm \
TMPDIR=/dev/shm \
LANG=$LANGUAGE.$CHARSET \
LANGUAGE=$LANGUAGE \
CHARSET=$CHARSET \
TZ=$TIMEZONE
ENV PATH=$PREFIX/bin:$PATH
ENV LD_LIBRARY_PATH=$PREFIX/lib
ENV HOME=/dev/shm
ENV XDG_RUNTIME_DIR=/dev/shm
ENV TMPDIR=/dev/shm
ENV LANG=$LANGUAGE.$CHARSET
ENV LANGUAGE=$LANGUAGE
ENV CHARSET=$CHARSET
ENV TZ=$TIMEZONE
WORKDIR $PREFIX

0 comments on commit 4066871

Please sign in to comment.