2023-04-29 14:35:15 +00:00
|
|
|
# Import code-server
|
2023-06-18 08:54:21 +00:00
|
|
|
FROM ghcr.io/linuxserver/code-server:4.14.0
|
2023-03-22 09:20:48 +00:00
|
|
|
|
2023-03-22 14:22:32 +00:00
|
|
|
# Install own things and dependencies
|
|
|
|
RUN apt update -y && apt upgrade -y && apt install -y build-essential cmake python3-dev c3270 \
|
2023-03-22 15:44:37 +00:00
|
|
|
git wget time autoconf automake flex gawk m4 libltdl-dev libtool-bin libcap2-bin libbz2-dev zlib1g-dev \
|
2023-03-22 15:46:52 +00:00
|
|
|
default-jdk openjdk-8-jdk openjdk-11-jdk openjdk-17-jdk golang dotnet-sdk-6.0 \
|
|
|
|
mingw-w64 mingw-w64-i686-dev mingw-w64-x86-64-dev
|
2023-03-22 09:20:48 +00:00
|
|
|
|
|
|
|
RUN cd / && git clone https://github.com/wrljet/hercules-helper.git
|
|
|
|
COPY allow-root-build.patch /hercules-helper
|
2023-03-22 09:59:09 +00:00
|
|
|
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
|
2023-03-22 09:20:48 +00:00
|
|
|
|
|
|
|
COPY add-herc-helper-to-init.patch /hercules-helper
|
|
|
|
RUN cd / && patch init /hercules-helper/add-herc-helper-to-init.patch
|
|
|
|
|