2018-07-17 21:56:15 +02:00
|
|
|
# This image builds Yocto jobs using the kas tool
|
2017-06-14 13:36:37 +02:00
|
|
|
|
2019-07-31 12:25:03 +02:00
|
|
|
FROM debian:buster-slim
|
2018-07-17 21:56:15 +02:00
|
|
|
|
2021-01-02 15:48:05 +01:00
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
2017-06-14 13:36:37 +02:00
|
|
|
|
2017-06-20 07:54:03 +02:00
|
|
|
RUN apt-get update && \
|
2018-07-17 21:56:15 +02:00
|
|
|
apt-get install -y locales && \
|
|
|
|
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
|
|
|
ENV LANG=en_US.utf8
|
|
|
|
|
|
|
|
RUN apt-get install --no-install-recommends -y \
|
2019-11-17 12:38:59 +01:00
|
|
|
gawk wget git-core diffstat unzip texinfo gcc-multilib \
|
|
|
|
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
|
|
|
|
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
|
|
|
|
pylint3 xterm \
|
|
|
|
python3-setuptools python3-wheel python3-yaml \
|
2020-11-01 21:47:05 +01:00
|
|
|
gosu lsb-release file vim less procps tree tar bzip2 zstd bc tmux libncurses-dev \
|
2019-11-17 12:38:59 +01:00
|
|
|
dosfstools mtools parted syslinux \
|
2020-04-29 13:48:34 +02:00
|
|
|
git-lfs mercurial iproute2 ssh-client curl rsync gnupg awscli && \
|
2017-06-20 07:54:03 +02:00
|
|
|
apt-get clean && \
|
|
|
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
|
2017-07-19 08:51:20 +02:00
|
|
|
RUN wget -nv -O /usr/bin/oe-git-proxy "http://git.yoctoproject.org/cgit/cgit.cgi/poky/plain/scripts/oe-git-proxy" && \
|
2019-09-18 16:00:19 +02:00
|
|
|
chmod +x /usr/bin/oe-git-proxy
|
2021-01-02 15:53:06 +01:00
|
|
|
ENV GIT_PROXY_COMMAND="oe-git-proxy" \
|
|
|
|
NO_PROXY="*"
|
2017-07-19 08:51:20 +02:00
|
|
|
|
2017-06-14 13:36:37 +02:00
|
|
|
COPY . /kas
|
2017-07-19 08:51:21 +02:00
|
|
|
RUN pip3 --proxy=$https_proxy install /kas
|
2017-06-14 13:36:37 +02:00
|
|
|
|
2020-09-28 09:02:12 +02:00
|
|
|
ENTRYPOINT ["/kas/container-entrypoint"]
|