Skip to content

Commit b6e7587

Browse files
committed
updated ENV and ARG setup in dockerfile
1 parent bf0350e commit b6e7587

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/devbox/generate/tmpl/DevboxImageDockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN . ~/.nix-profile/etc/profile.d/nix.sh
2121
ENV PATH="/home/${DEVBOX_USER}/.nix-profile/bin:$PATH"
2222

2323
# Step 3: Installing devbox
24-
ENV DEVBOX_USE_VERSION=${DEVBOX_USE_VERSION}
24+
ENV DEVBOX_USE_VERSION=$DEVBOX_USE_VERSION
2525
RUN wget --quiet --output-document=/dev/stdout https://get.jetify.com/devbox | bash -s -- -f
2626
RUN chown -R "${DEVBOX_USER}:${DEVBOX_USER}" /usr/local/bin/devbox
2727
# stop launcher from auto updating

internal/devbox/generate/tmpl/DevboxImageDockerfileRootUser

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN . ~/.nix-profile/etc/profile.d/nix.sh
1515
ENV PATH="/root/.nix-profile/bin:$PATH"
1616

1717
# Step 3: Installing devbox
18-
ENV DEVBOX_USE_VERSION ${DEVBOX_USE_VERSION}
18+
ENV DEVBOX_USE_VERSION=$DEVBOX_USE_VERSION
1919
RUN wget --quiet --output-document=/dev/stdout https://get.jetify.com/devbox | bash -s -- -f
2020
# stop launcher from auto updating
2121
# RUN mkdir -p $HOME/.config/devbox/ && echo "false" > $HOME/.config/devbox/auto_update

0 commit comments

Comments
 (0)