Public Repository

Last pushed: 2 years ago
Short Description
Standard image prepared to build Prevas Industrial Linux with OE-Lite
Full Description

Pull this image with

docker pull prevas/oe-lite

The image contains a user with username user and password user. Its uid is 1000, so if your day-to-day developer account is with a different uid, run the following after pulling the image:

cat <<EOF | docker build -q -t prevas/oe-lite-uid-$(id -u) -
FROM prevas/oe-lite
USER root
RUN usermod -u $(id -u) user
USER user

Now create and run a container with

[ $(id -u) -eq 1000 ] && image=prevas/oe-lite || image=prevas/oe-lite-uid-$(id -u)
docker run -i -t -h oe-lite --name oe-lite -v $HOME:/home/user $image

Start the container again with

docker start -a -i oe-lite
Docker Pull Command