-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
39 lines (20 loc) · 880 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM ubuntu:22.04
ARG VERSION
ARG DEBIAN_FRONTEND=noninteractive
LABEL org.opencontainers.image.ref.name="zmicro"
LABEL org.opencontainers.image.version=$VERSION
LABEL org.opencontainers.image.author="Zero<[email protected]>"
# RUN sed -i 's/ports.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list
RUN apt update && apt install -y curl wget git sudo systemd make gcc g++ iputils-ping dnsutils && rm -rf /var/lib/apt/lists/*
ENV TZ="Asia/Shanghai"
ENV USER=root
RUN curl -o- https://raw.githubusercontent.com/zcorky/zmicro/master/install | CI=true bash
RUN zmicro config timezone
RUN zmicro config locale
RUN zmicro package install gzfly
RUN zmicro package install gzssh
RUN zmicro package install gzterminal
RUN zmicro package install docker
RUN zmicro package install docker-compose
RUN zmicro package install docker-buildx
# ENV LOG_LEVEL=error