Skip to content

Commit

Permalink
Set environment variable for Devbox user
Browse files Browse the repository at this point in the history
Added the DEVBOX_USER environment variable to the Dockerfile to specify the default user as 'devbox-user'. This change ensures consistency and proper configuration for user-specific operations in the container.
  • Loading branch information
jcardozo committed Sep 15, 2024
1 parent caebacc commit 0ed03d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Using the official Devbox image as the base
FROM jetpackio/devbox:latest

# Set the DEVBOX_USER environment variable
ENV DEVBOX_USER=devbox-user

# Set up the working directory and permissions
WORKDIR /code
USER root:root
Expand Down

0 comments on commit 0ed03d7

Please sign in to comment.