Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docker-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ FROM --platform=linux/amd64 ubuntu:22.04

# Install necessary packages
RUN apt-get update && apt-get upgrade -y && apt-get install -y git wget
COPY ../linux/router-orchestrator.tar.gz .

RUN wget https://raw.githubusercontent.com/router-protocol/routerd-libs/main/libwasmvm.x86_64.so
RUN cp libwasmvm.x86_64.so /lib
RUN cp libwasmvm.x86_64.so /lib64

RUN wget https://raw.githubusercontent.com/router-protocol/router-orchestrator-binary-release/refs/heads/main/linux/router-orchestrator.tar.gz
RUN tar -xvf router-orchestrator.tar.gz -C /usr/bin
RUN chmod +x /usr/bin/router-orchestrator
RUN which router-orchestrator
Expand All @@ -19,11 +19,11 @@ EXPOSE 8001
RUN touch .env

# Clean up
RUN apt-get remove -y wget bash --allow-remove-essential && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /root/.ssh && \
rm /bin/sh
# RUN apt-get remove -y wget bash --allow-remove-essential && \
# apt-get autoremove -y && \
# apt-get clean && \
# rm -rf /var/lib/apt/lists/* && \
# rm -rf /root/.ssh && \
# rm /bin/sh

ENTRYPOINT ["router-orchestrator", "start", "--config", "/src/config.json", "--reset"]