Skip to content

Commit

Permalink
build: Add sudo to the Virtual Device for app updates
Browse files Browse the repository at this point in the history
It is harmless, and will allow us to use the same commands in the
documentation for real devices and the Virtual Device

Signed-off-by: Lluis Campos <[email protected]>
  • Loading branch information
lluiscampos committed Oct 29, 2024
1 parent af6cae3 commit 6aa28f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/mender-client-docker-addons/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN mkdir -p /mender-install/var/lib/mender && echo device_type=generic-x86_64 >
FROM ubuntu:24.04

RUN mkdir -p /run/dbus && apt-get update && apt-get install -y \
liblzma5 dbus openssh-server liblmdb0 libarchive13 libboost-log1.83.0
liblzma5 dbus openssh-server sudo liblmdb0 libarchive13 libboost-log1.83.0

# Set no password
RUN sed -ie 's/^root:[^:]*:/root::/' /etc/shadow
Expand Down

0 comments on commit 6aa28f0

Please sign in to comment.