mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
Fix inconsitent casing (#1086)
Switch from lower case "as" to upper case "AS" to be consistent with the other keywords.
This commit is contained in:
parent
6cf27d1d59
commit
251b4203e7
@ -2,12 +2,12 @@
|
|||||||
# The maintainers of electrs are not deeply familiar with Docker, so you should DYOR.
|
# The maintainers of electrs are not deeply familiar with Docker, so you should DYOR.
|
||||||
# If you are not familiar with Docker either it's probably be safer to NOT use it.
|
# If you are not familiar with Docker either it's probably be safer to NOT use it.
|
||||||
|
|
||||||
FROM debian:bookworm-slim as base
|
FROM debian:bookworm-slim AS base
|
||||||
RUN apt-get update -qqy
|
RUN apt-get update -qqy
|
||||||
RUN apt-get install -qqy librocksdb-dev curl
|
RUN apt-get install -qqy librocksdb-dev curl
|
||||||
|
|
||||||
### Electrum Rust Server ###
|
### Electrum Rust Server ###
|
||||||
FROM base as electrs-build
|
FROM base AS electrs-build
|
||||||
RUN apt-get install -qqy cargo clang cmake
|
RUN apt-get install -qqy cargo clang cmake
|
||||||
|
|
||||||
# Install electrs
|
# Install electrs
|
||||||
@ -17,7 +17,7 @@ ENV ROCKSDB_INCLUDE_DIR=/usr/include
|
|||||||
ENV ROCKSDB_LIB_DIR=/usr/lib
|
ENV ROCKSDB_LIB_DIR=/usr/lib
|
||||||
RUN cargo install --locked --path .
|
RUN cargo install --locked --path .
|
||||||
|
|
||||||
FROM base as result
|
FROM base AS result
|
||||||
# Copy the binaries
|
# Copy the binaries
|
||||||
COPY --from=electrs-build /root/.cargo/bin/electrs /usr/bin/electrs
|
COPY --from=electrs-build /root/.cargo/bin/electrs /usr/bin/electrs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user