-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (19 loc) · 698 Bytes
/
Copy pathDockerfile
File metadata and controls
32 lines (19 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Dockerfile
#
# Project: docker-ubuntu-x
# License: GNU GPLv3
#
# Copyright (C) 2016 - 2026 Robert Cernansky
FROM ubuntu
LABEL org.opencontainers.image.authors="openhs"
LABEL version="0.0.3" \
description="Base Ubuntu image for X applications."
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
xauth
RUN useradd --shell /bin/false --create-home appuser
COPY setup_access_to_host_display.sh add_user_to_audio_group.sh \
docker-ubuntu-x_startup.sh /opt/
RUN chmod +x /opt/setup_access_to_host_display.sh \
/opt/add_user_to_audio_group.sh /opt/docker-ubuntu-x_startup.sh
ENTRYPOINT ["/opt/docker-ubuntu-x_startup.sh"]