Commit 0087267f authored by fuyanbin's avatar fuyanbin
Browse files

支持打包allwiner镜像: gitlab runner

parent 78b272b8
Pipeline #51160 passed with stages
in 7 seconds
FROM ubuntu:22.04 FROM ubuntu:22.04
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --force-yes -y \ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --force-yes -y \
bc \ bc \
iputils-ping \
iproute2 \
jq \ jq \
squashfs-tools \ python3 \
genisoimage \
syslinux \
isomd5sum \
openssl \ openssl \
bzip2 \ bzip2 \
rsync \
mount \ mount \
udisks2 \ udisks2 \
coreutils \ coreutils \
p7zip-full \
wget \
unzip \ unzip \
zip \ zip \
git \ git \
curl \ curl \
lsb-release \
qemu-utils \ qemu-utils \
ca-certificates \ ca-certificates \
gnupg \
openssh-client \
zstd \ zstd \
sudo \
file \ file \
abootimg \ abootimg \
cpio \ libusb-1.0-0 \
simg2img \ libfdt-dev \
libfdt1 \
libprotobuf23 \
libprotobuf-dev \
libc6-i386 \
openssh-client \
&& apt-get clean all && apt-get clean all
# custom tools # custom tools
COPY tools/upload.sh /usr/bin COPY tools/upload.sh /usr/bin
COPY tools/upload /usr/bin COPY tools/upload /usr/bin
COPY tools/obsutil/obsutil /usr/bin COPY tools/obsutil/obsutil /usr/bin
COPY tools/rockchip_tool/* /usr/bin
COPY tools/amlogic_tool/* /usr/bin COPY tools/amlogic_tool/* /usr/bin
COPY tools/allwinner/* /usr/bin
COPY tools/android-tools/* /usr/bin
COPY gitlab-runner/entrypoint /entrypoint COPY gitlab-runner/entrypoint /entrypoint
RUN --mount=type=bind,target=/tmp/mnt,source=./gitlab-runner bash -c 'dpkg -i /tmp/mnt/gitlab-runner_amd64.deb' RUN --mount=type=bind,target=/tmp/mnt,source=./gitlab-runner bash -c 'dpkg -i /tmp/mnt/gitlab-runner_amd64.deb'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment