Skip to content

Commit

Permalink
feat: set user password
Browse files Browse the repository at this point in the history
  • Loading branch information
salzig committed Sep 26, 2024
1 parent 959cf74 commit 503f124
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM ubuntu:24.04

ARG defaultuser=rubynrails
ARG defaultpassword=love

RUN apt-get update
RUN apt-get install -y curl git
RUN apt clean
RUN adduser $defaultuser && echo "[user]\ndefault=$defaultuser" >> /etc/wsl.conf
RUN echo "${defaultuser}:${defaultpassword}" | chpasswd

# Install asdf
ARG ASDF_VERSION=v0.14.1
Expand Down

0 comments on commit 503f124

Please sign in to comment.