forked from 0xFlicker/ordinals
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
267 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
"cblock", | ||
"cbor", | ||
"Claimables", | ||
"electrs", | ||
"fundings", | ||
"inscriptor", | ||
"localstack", | ||
|
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Use Amazon Linux 2023 as the base image | ||
FROM public.ecr.aws/amazonlinux/amazonlinux:2023 | ||
|
||
# Install Rust and cross-compilation dependencies | ||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
ENV PATH="/root/.cargo/bin:${PATH}" | ||
RUN yum update -y | ||
RUN yum install -y gcc gcc-c++ openssl-devel | ||
RUN rustup target add aarch64-unknown-linux-gnu | ||
|
||
# Install cross-compilation tools | ||
RUN yum install -y gcc-aarch64-linux-gnu glibc-static | ||
|
||
# Copy the Rust project files to the container | ||
WORKDIR /usr/src/myapp | ||
COPY . . | ||
|
||
# Build the project for aarch64 | ||
RUN cargo build --release --target=aarch64-unknown-linux-gnu | ||
|
||
# The binary will be at /usr/src/myapp/target/aarch64-unknown-linux-gnu/release | ||
CMD ["./target/aarch64-unknown-linux-gnu/release/myapp"] |
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cookie_file = "/home/ec2-user/.bitcoin/testnet3/.cookie" | ||
db_dir = "/home/ec2-user/db" | ||
network = "testnet" | ||
electrum_rpc_addr = "0.0.0.0:60001" | ||
log_filters = "DEBUG" |
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
Oops, something went wrong.