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
|
|
|
|
|
|
|
ENV 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 \
|
2017-06-23 16:31:00 +02:00
|
|
|
gawk wget git-core diffstat unzip file \
|
2017-06-14 13:36:37 +02:00
|
|
|
texinfo gcc-multilib build-essential \
|
2017-06-23 16:31:00 +02:00
|
|
|
chrpath socat cpio python python3 rsync \
|
2017-06-19 18:37:25 +02:00
|
|
|
tar bzip2 curl dosfstools mtools parted \
|
|
|
|
syslinux tree python3-pip bc python3-yaml \
|
2017-07-24 15:54:24 +02:00
|
|
|
lsb-release python3-setuptools ssh-client \
|
2019-09-12 14:58:44 +02:00
|
|
|
vim less mercurial iproute2 xz-utils gnupg \
|
2019-10-09 16:51:08 +02:00
|
|
|
tmux libncurses-dev python3-wheel && \
|
2017-06-20 07:54:03 +02:00
|
|
|
apt-get clean && \
|
|
|
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
|
2017-06-19 09:28:35 +02:00
|
|
|
RUN wget -nv -O /usr/bin/gosu "https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64" && \
|
|
|
|
chmod +x /usr/bin/gosu
|
2017-06-20 07:54:03 +02:00
|
|
|
|
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
|
2017-07-19 08:51:20 +02:00
|
|
|
ENV GIT_PROXY_COMMAND="oe-git-proxy"
|
|
|
|
ENV NO_PROXY="*"
|
|
|
|
|
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
|
|
|
|
2017-06-23 16:30:59 +02:00
|
|
|
ENTRYPOINT ["/kas/docker-entrypoint"]
|