Dockerfile 678 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
FROM ubuntu:22.04
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --force-yes -y \
    bc \
    iputils-ping \
    iproute2 \
    openssl \
    bzip2 \
    udisks2 \
    coreutils \
10
    zstd \
11
12
13
14
15
16
17
18
19
    wget \
    unzip \
    zip \
    git \
    curl \
    simg2img \
    file \
    openssh-client \
    ca-certificates \
fuyanbin's avatar
fuyanbin committed
20
21
    abootimg \
    cpio \
22
23
24
25
26
27
28
29
30
31
32
33
34
35
    && apt-get clean all

# custom tools
COPY tools/upload.sh /usr/bin
COPY tools/upload /usr/bin

RUN mkdir -p /root/.ssh && chmod 0700 /root/.ssh
RUN ls -l /root/.ssh
COPY Docker/id_rsa /root/.ssh
RUN chown root:root -R /root/.ssh

COPY Docker/start.sh /start.sh

ENTRYPOINT ["/start.sh"]