Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Aug 20, 2024
1 parent c11c639 commit 25e09f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM rust:latest as builder
FROM rust:bookworm as builder

Check warning on line 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest-16-cores, linux/amd64)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /wd
COPY . .
RUN cargo install --locked --path cmd/stellar-cli --bin stellar --features opt

FROM debian:latest
FROM gcr.io/distroless/cc-debian12:latest
COPY --from=builder /usr/local/cargo/bin/stellar /usr/local/bin/stellar
ENTRYPOINT ["stellar"]
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ typescript-bindings-fixtures: build-test-wasms
--output-dir ./cmd/crates/soroban-spec-typescript/fixtures/test_custom_types \
--overwrite

docker:
docker build -t stellar/stellar-cli:dev .

# PHONY lists all the targets that aren't file names, so that make would skip the timestamp based check.
.PHONY: publish clean fmt watch check e2e-test test build-test-wasms install build build-snapshot typescript-bindings-fixtures
.PHONY: publish clean fmt watch check e2e-test test build-test-wasms install build build-snapshot typescript-bindings-fixtures docker

0 comments on commit 25e09f2

Please sign in to comment.