Files
spark/docker/sparkd/dev/Dockerfile
T
John Colvin 2a9f03741e chore: Move docker files into main repo
Changes to Docker-related files/configuration don't occur in a vacuum.
They are made in coordination with changes to the main repository, so it
doesn't make sense to track them separately.

Note: Removing the 'windows' Docker files completely. No one has has
used them in a long, long time. The client build would be broken in
there anyways, the image is based on .NET Framework 3.5!
2023-04-03 13:48:16 +00:00

15 lines
388 B
Docker

FROM johncolvin/bluetradingsystems:spark-dev
ARG docker_user
ARG docker_uid
ARG docker_pass
RUN \
groupadd -g "$docker_uid" "$docker_user" \
&& useradd -u "$docker_uid" -g "$docker_uid" "$docker_user" \
&& usermod --password "$(openssl passwd -1 "$docker_pass")" "$docker_user" \
&& usermod -aG sudo "$docker_user"
# Set the default user
USER $docker_user:$docker_user