forked from kscherer/docker_drm
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (20 loc) · 799 Bytes
/
Dockerfile
File metadata and controls
27 lines (20 loc) · 799 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
FROM ubuntu:24.04
# DRM website: https://www.dell.com/support/home/en-us/drivers/driversdetails?driverId=JKGDG
# Install needed tools, clean up, download and install DRM, clean up
RUN apt-get update && \
apt-get install -y wget socat file && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
wget -U drm -O drm.bin https://downloads.dell.com/FOLDER12894273M/1/DRMInstaller_3.4.8.1086.bin && \
sh drm.bin -i silent && \
rm -rf /tmp/*
# Run socat and DRM as unprivileged user
USER drmuser
# Create a volume to hold the downloaded objects
VOLUME ["/var/dell/drm/"]
# Expose port forwarded from socat
EXPOSE 8091
# Install start script
COPY start.sh /opt/dell/dellrepositorymanager/
# Start script to run DRM and socat
CMD ["/opt/dell/dellrepositorymanager/start.sh"]