feat: Add dev Dockerfile & scripts to integrate w/ devcontainers

This commit is contained in:
John Colvin committed 2023-03-31 04:59:33 +00:00
1 parent 7f5fc417c2
commit 81567b1f82
4 files changed
+253

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
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