Dockerfile 799 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 \
    p7zip-full \
    wget \
    unzip \
    zip \
    git \
    curl \
    simg2img \
    file \
    openssh-client \
    ca-certificates \
fuyanbin's avatar
fuyanbin committed
20
21
    abootimg \
    cpio \
22
23
    && apt-get clean all

fuyanbin's avatar
fuyanbin committed
24
25
26
27
28
RUN mkdir /android-image-pack-tool
COPY pack.sh /android-image-pack-tool/pack.sh
COPY services /android-image-pack-tool/services
COPY tools /android-image-pack-tool/tools
COPY vendor.yaml.src /android-image-pack-tool/vendor.yaml.src
29
30
31
COPY tools/upload.sh /usr/bin
COPY tools/upload /usr/bin
COPY Docker/start.sh /start.sh
fuyanbin's avatar
fuyanbin committed
32
WORKDIR /android-image-pack-tool
33
34

ENTRYPOINT ["/start.sh"]