瀏覽代碼

changed docker base image to ubuntu:latest

master
myitinos 4 年之前
父節點
當前提交
377fef37a0
共有 1 個檔案被更改,包括 4 行新增5 行删除
  1. +4
    -5
      Dockerfile

+ 4
- 5
Dockerfile 查看文件

@ -1,13 +1,12 @@
FROM alpine
FROM ubuntu:latest
RUN apk update
RUN apk add --no-cache \
socat
RUN apt update && \
apt install socat -y
WORKDIR /app
COPY ./flag.txt .
COPY ./spell-warz .
COPY ./spell-warz-again .
CMD socat tcp-listen:12345,reuseaddr,fork EXEC:\"./spell-warz\"

Loading…
取消
儲存