forked from kscherer/docker_drm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
27 lines (20 loc) · 773 Bytes
/
Dockerfile
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:22.04
# DRM website: https://www.dell.com/support/home/en-us/Drivers/DriversDetails?driverid=HHV83
# 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://dl.dell.com/FOLDER10693640M/1/DRMInstaller_3.4.4.908.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"]