code-server-mod/Dockerfile
Yvan Janssens 212736366a
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Switch to buildx instead of kaniko, remove proxy
2023-03-22 13:34:10 +00:00

16 lines
668 B
Docker

FROM ghcr.io/linuxserver/code-server:latest
RUN apt update -y && apt upgrade -y && apt install -y build-essential cmake python3-dev c3270
#RUN git config --global http.proxy http://netsupport.lan.cyber.gent:3128
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
#RUN git config --global http.proxy