Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
Remove outdated Dockerfiles
cloudhead committed 2 years ago
commit 55c4de0239b21c6eab12f85a7157992e1dabcfe2
parent b31fbde1593f0a24b5b9f75f89e3d1593934fc15
3 files changed +2 -65
modified README.md
@@ -30,6 +30,8 @@ Run the following command to install the latest binary release:

    curl -sSf https://radicle.xyz/install | sh

+
Or visit our [download][https://radicle.xyz/download] page.
+

### 📦 From source

> Requires the Rust toolchain.
@@ -52,8 +54,6 @@ Or directly from our seed node:
`/systemd` folder. They can be used as a starting point for further
customization.

-
Additionally, a `Dockerfile` is included under both crates.
-

For running in debug mode, see [HACKING.md](HACKING.md).

## Contributing
deleted radicle-httpd/Dockerfile
@@ -1,31 +0,0 @@
-
# Build
-
FROM registry.gitlab.com/rust_musl_docker/image:stable-1.65.0@sha256:f95635740757e0e9a29b51d5060a7564e900cb5192defdd3a5b2ba5b47ce17b3 as build
-

-
COPY . /workdir
-

-
RUN rustup target add x86_64-unknown-linux-musl
-

-
WORKDIR /workdir/radicle-httpd
-
RUN RUSTFLAGS=-Cforce-frame-pointers=yes \
-
  cargo build \
-
    --profile=container \
-
    --target=x86_64-unknown-linux-musl
-
RUN objcopy \
-
  --compress-debug-sections \
-
  /workdir/target/x86_64-unknown-linux-musl/container/radicle-httpd \
-
  /workdir/target/x86_64-unknown-linux-musl/container/radicle-httpd.compressed
-

-
# Run
-
FROM debian:bullseye-slim@sha256:25f10b4f1ded5341a3ca0a30290ff3cd5639415f0c5a2222d5e7d5dd72952aa1
-

-
RUN echo deb http://deb.debian.org/debian bullseye-backports main contrib non-free >/etc/apt/sources.list.d/backports.list
-
RUN apt-get update && \
-
  apt -t bullseye-backports install --yes git && \
-
  rm -rf /var/lib/apt/lists/*
-
COPY --from=build \
-
  /workdir/target/x86_64-unknown-linux-musl/container/radicle-httpd.compressed \
-
  /usr/local/bin/radicle-httpd
-

-
WORKDIR /app
-

-
ENTRYPOINT ["/usr/local/bin/radicle-httpd", "--listen", "0.0.0.0:8080"]
deleted radicle-node/Dockerfile
@@ -1,32 +0,0 @@
-
# Build
-
FROM registry.gitlab.com/rust_musl_docker/image:stable-1.65.0@sha256:f95635740757e0e9a29b51d5060a7564e900cb5192defdd3a5b2ba5b47ce17b3 as build
-

-
COPY . /workdir
-

-
RUN rustup target add x86_64-unknown-linux-musl
-

-
WORKDIR /workdir/radicle-node
-

-
RUN RUSTFLAGS=-Cforce-frame-pointers=yes \
-
  cargo build \
-
    --profile=container \
-
    --target=x86_64-unknown-linux-musl
-
RUN objcopy \
-
  --compress-debug-sections \
-
  /workdir/target/x86_64-unknown-linux-musl/container/radicle-node \
-
  /workdir/target/x86_64-unknown-linux-musl/container/radicle-node.compressed
-

-
# Run
-
FROM debian:bullseye-slim@sha256:25f10b4f1ded5341a3ca0a30290ff3cd5639415f0c5a2222d5e7d5dd72952aa1
-

-
RUN echo deb http://deb.debian.org/debian bullseye-backports main contrib non-free >/etc/apt/sources.list.d/backports.list
-
RUN apt-get update && \
-
  apt -t bullseye-backports install --yes git && \
-
  rm -rf /var/lib/apt/lists/*
-
COPY --from=build \
-
  /workdir/target/x86_64-unknown-linux-musl/container/radicle-node.compressed \
-
  /usr/local/bin/radicle-node
-

-
WORKDIR /app
-

-
ENTRYPOINT ["/usr/local/bin/radicle-node", "--listen", "0.0.0.0:8776"]