Dockerfile 742 Bytes
Newer Older
fuyanbin's avatar
fuyanbin committed
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 gitlab/gitlab-runner:latest
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --force-yes -y \
    bc \
    iputils-ping \
    iproute2 \
    jq \
    squashfs-tools \
    genisoimage \
    syslinux \
    isomd5sum \
    openssl \
    bzip2 \
    rsync \
    mount \
    udisks2 \
    coreutils \
    p7zip-full \
    wget \
    unzip \
    zip \
    git \
    curl \
    lsb-release \
    qemu-utils \
    ca-certificates \
    gnupg \
    openssh-client \
    zstd \
    sudo \
    && apt-get clean all

# custom tools
COPY tools/upload.sh /usr/bin
COPY tools/upload /usr/bin
COPY tools/obsutil/obsutil /usr/bin
COPY gitlab-runner/entrypoint /entrypoint

WORKDIR /
ENTRYPOINT ["/entrypoint"]