Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
removed

# Create system user
RUN New-LocalUser -Name "steamcmd" -NoPassword -AccountNeverExpires -UserMayNotChangePassword | Set-LocalUser -PasswordNeverExpires $true

# Switch to user
USER steamcmd
  • Loading branch information
Sven Bergendahl committed Feb 6, 2024
1 parent d5a9a6d commit 4c14d6a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ SHELL ["powershell"]
ENV POWERSHELL_TELEMETRY_OPTOUT 1
ENV HOME "c:\steamcmd"

# Create system user
RUN New-LocalUser -Name "steamcmd" -NoPassword -AccountNeverExpires -UserMayNotChangePassword | Set-LocalUser -PasswordNeverExpires $true

# Switch to user
USER steamcmd

# Create SteamCMD directory
RUN New-Item -ItemType Directory "c:\steamcmd"

Expand Down

0 comments on commit 4c14d6a

Please sign in to comment.