Commit a15eec17 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Dockerfile

Dockerfile
parents d86fe260 ee28f727
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ on:
      - '.dockerignore'
      - '.github/**'
      - '.github/workflows/**'
      - 'Dockerfile'

jobs:
  shellcheck:
+5 −7
Original line number Diff line number Diff line
@@ -30,17 +30,15 @@ RUN apt-get update && apt-get -y upgrade && \
	netcat-openbsd \
	ca-certificates \
	qemu-system-x86 \
    && apt-get clean
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
    
COPY run/*.sh /run/
COPY agent/*.sh /agent/

COPY --from=builder /qemu-host.bin /run/host.bin

RUN ["chmod", "+x", "/run/run.sh"]
RUN ["chmod", "+x", "/run/check.sh"]
RUN ["chmod", "+x", "/run/server.sh"]
RUN ["chmod", "+x", "/run/host.bin"]
RUN chmod +x /run/*.sh && chmod +x /run/*.bin

VOLUME /storage