Yocto build container: start as builduser

Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
This commit is contained in:
Thomas Klaehn
2017-11-16 13:26:17 +01:00
parent d64c9e41b1
commit 6691814ab4
2 changed files with 26 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
FROM debian:jessie
MAINTAINER Thomas Klaehn <thomas.klaehn@u-blox.com>
LABEL maintainer="thomas.klaehn@u-blox.com"
RUN apt-get update && \
apt-get install -yq sudo build-essential git python python3 man bash diffstat \
@@ -19,11 +19,6 @@ RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
ENV LANG en_US.utf8
RUN mkdir -p /var/build
WORKDIR /var/build
ADD init.sh /usr/local/bin/init.sh
ENTRYPOINT ["/usr/local/bin/init.sh"]