Skip to content

Commit 42db772

Browse files
authored
[easy] copy devbox.lock in generated Dockerfile (#1344)
## Summary Mohsen has a PR that will eventually copy all the code of the project into the dockerfile, but I can see why that may be complicated. For now, sending a quick fix to just copy the `devbox.lock` file so that our users get the exact packages they expect. This line can be removed when the aforementioned PR is ready. ## How was it tested? ran `devbox generate dockerfile` and saw the `COPY devbox.lock devbox.lock` line was present
1 parent af25096 commit 42db772

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/impl/generate/tmpl/devcontainerDockerfile.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ RUN wget --quiet --output-document=/dev/stdout https://get.jetpack.io/devbox |
1515
# Step 4: Installing your devbox project
1616
WORKDIR /code
1717
COPY devbox.json devbox.json
18+
COPY devbox.lock devbox.lock
1819
{{if len .LocalFlakeDirs}}
1920
# Step 6: Copying local flakes directories
2021
{{- end}}

0 commit comments

Comments
 (0)