-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using devbox (will need to remove vscode)
- Loading branch information
Showing
9 changed files
with
159 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
FROM jetpackio/devbox:latest | ||
FROM debian:bookworm-slim | ||
|
||
# Installing your devbox project | ||
WORKDIR /code | ||
USER root:root | ||
RUN mkdir -p /code && chown ${DEVBOX_USER}:${DEVBOX_USER} /code | ||
USER ${DEVBOX_USER}:${DEVBOX_USER} | ||
COPY --chown=${DEVBOX_USER}:${DEVBOX_USER} devbox.json devbox.json | ||
COPY --chown=${DEVBOX_USER}:${DEVBOX_USER} devbox.lock devbox.lock | ||
RUN apt update && apt install patchelf | ||
|
||
RUN devbox run -- echo "Installed Packages." | ||
COPY target-common/release/fledger fledger | ||
RUN patchelf --set-interpreter /usr/lib64/ld-linux-x86-64.so.2 fledger | ||
|
||
FROM debian:bookworm-slim | ||
WORKDIR /fledger | ||
COPY ./fledger fledger | ||
COPY --from=0 fledger /fledger/fledger | ||
|
||
ENTRYPOINT ["/fledger/fledger", "-vv"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
FROM jetpackio/devbox:latest | ||
FROM debian:bookworm-slim | ||
|
||
# Installing your devbox project | ||
WORKDIR /code | ||
USER root:root | ||
RUN mkdir -p /code && chown ${DEVBOX_USER}:${DEVBOX_USER} /code | ||
USER ${DEVBOX_USER}:${DEVBOX_USER} | ||
COPY --chown=${DEVBOX_USER}:${DEVBOX_USER} devbox.json devbox.json | ||
COPY --chown=${DEVBOX_USER}:${DEVBOX_USER} devbox.lock devbox.lock | ||
RUN apt update && apt install patchelf | ||
|
||
RUN devbox run -- echo "Installed Packages." | ||
COPY target-common/release/flsignal flsignal | ||
RUN patchelf --set-interpreter /usr/lib64/ld-linux-x86-64.so.2 flsignal | ||
|
||
FROM debian:bookworm-slim | ||
WORKDIR /fledger | ||
COPY ./flsignal flsignal | ||
COPY --from=0 flsignal /fledger/flsignal | ||
|
||
ENTRYPOINT ["/fledger/flsignal", "-vv"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters