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!
15 lines
388 B
Docker
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
|