Yocto build container: start as builduser
Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
Reference in New Issue
Block a user