Dockerfile 433 Bytes
Newer Older
qiuqunfeng's avatar
qiuqunfeng committed
1 2 3 4
FROM ubuntu:22.04

ARG MIRROR_SOURCE=mirrors.aliyun.com

liuqianli's avatar
modify  
liuqianli committed
5 6 7
ADD dist/waf-console /


qiuqunfeng's avatar
qiuqunfeng committed
8 9 10 11 12 13 14 15 16

RUN sed -i "s!archive.ubuntu.com/!${MIRROR_SOURCE}/!g" /etc/apt/sources.list \
    && sed -i "s!ports.ubuntu.com/!${MIRROR_SOURCE}/!g" /etc/apt/sources.list \
    && apt-get update -y \
    && apt-get install -y ca-certificates \
    && apt-get full-upgrade -y \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

qiuqunfeng's avatar
commit  
qiuqunfeng committed
17
ENTRYPOINT ["/waf-console"]