code-server-mod/Dockerfile

16 lines
782 B
Docker

FROM ghcr.io/linuxserver/code-server:latest
# Install own things and dependencies
RUN apt update -y && apt upgrade -y && apt install -y build-essential cmake python3-dev c3270 \
git wget time autoconf automake flex gawk m4 libltdl-dev libtool-bin libcap2-bin libbz2-dev zlib1g-dev \
default-jdk openjdk-8-jdk openjdk-11-jdk openjdk-17-jdk golang dotnet-sdk-6.0
RUN cd / && git clone https://github.com/wrljet/hercules-helper.git
COPY allow-root-build.patch /hercules-helper
COPY hercules-helper.conf /hercules-helper/hercules-helper.conf
RUN cd /hercules-helper && patch hyperion-buildall.sh allow-root-build.patch && ./hyperion-buildall.sh --no-setcap
COPY add-herc-helper-to-init.patch /hercules-helper
RUN cd / && patch init /hercules-helper/add-herc-helper-to-init.patch