playonlinux-docker/Dockerfile

29 lines
631 B
Docker

# the 'latest' tag is LTS
FROM ubuntu:latest
MAINTAINER Ben K <ben@sudo.is>
RUN set -x && \
apt-get update -y && \
apt-get install -y playonlinux && \
dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y wine32 && \
apt-get autoremove && \
apt-get clean && \
rm -rf /tmp/*
ARG UID=1000
ARG USER_NAME=player
RUN set -x && \
userdel --remove ubuntu && \
useradd -u ${UID} -d /home/${USER_NAME} -G video,adm,sudo -ms /bin/bash ${USER_NAME}
USER ${USER_NAME}
WORKDIR /home/${USER_NAME}
ENV USER ${USER_NAME}
ENV HOME /home/${USER_NAME}
ENTRYPOINT ["playonlinux"]
CMD []