mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
17 lines
442 B
Docker
17 lines
442 B
Docker
|
FROM ubuntu:bionic
|
||
|
|
||
|
RUN apt-get update && apt-get install -y \
|
||
|
ruby curl make libltdl7 git apache2 apt-cacher-ng python-vm-builder ruby qemu-utils \
|
||
|
&& rm -rf /var/lib/apt/lists
|
||
|
|
||
|
ARG USER_ID=1000
|
||
|
ARG GROUP_ID=1000
|
||
|
|
||
|
# add user with specified (or default) user/group ids
|
||
|
ENV USER_ID ${USER_ID}
|
||
|
ENV GROUP_ID ${GROUP_ID}
|
||
|
RUN groupadd -g ${GROUP_ID} dash
|
||
|
RUN useradd -u ${USER_ID} -g dash -s /bin/bash -m -d /dash dash
|
||
|
|
||
|
WORKDIR /dash
|
||
|
USER dash
|