Skip to content

Commit

Permalink
Correct Earthfile to build earthly
Browse files Browse the repository at this point in the history
Signed-off-by: AlexMikhalev <[email protected]>
  • Loading branch information
AlexMikhalev committed Jan 31, 2024
1 parent 84c1790 commit e3f8ebd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ install:
RUN rustup component add rustfmt
DO rust+INIT --keep_fingerprints=true
RUN cargo install cross
RUN cargo install orogene
#RUN cargo install orogene


source:
Expand Down Expand Up @@ -82,6 +82,7 @@ build:
build-debug:
FROM +source
DO rust+SET_CACHE_MOUNTS_ENV
COPY desktop+build/dist /code/terraphim-server/dist
DO rust+CARGO --args="build --offline" --output="debug/[^/\.]+"
RUN ./target/debug/terraphim_server --version
SAVE ARTIFACT ./target/debug/terraphim_server AS LOCAL artifact/bin/terraphim_server-debug
Expand Down Expand Up @@ -139,7 +140,7 @@ docker-slim:
ENTRYPOINT ["./terraphim_server"]
SAVE IMAGE aks/terraphim_server:buster

docker-sratch:
docker-scratch:
FROM scratch
COPY +build/terraphim_server terraphim_server
EXPOSE 8000
Expand Down

0 comments on commit e3f8ebd

Please sign in to comment.