Skip to content

Commit b709d3b

Browse files
authored
Fix/pull from harbor (#5521)
* fix: pull from harbor instead of dockerhub * add remaining * add comments saying that these changes will only work with VPN
1 parent 40dd7dc commit b709d3b

File tree

9 files changed

+24
-16
lines changed

9 files changed

+24
-16
lines changed

nym-api.dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM rust:latest AS builder
1+
# this will only work with VPN, otherwise remove the harbor part
2+
FROM harbor.nymte.ch/dockerhub/rust:latest AS builder
23

34
COPY ./ /usr/src/nym
45
WORKDIR /usr/src/nym/nym-api

nym-credential-proxy/nym-credential-proxy/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM rust:latest AS builder
1+
# this will only work with VPN, otherwise remove the harbor part
2+
FROM harbor.nymte.ch/dockerhub/rust:latest AS builder
23

34
COPY ./ /usr/src/nym
45
WORKDIR /usr/src/nym/nym-credential-proxy/nym-credential-proxy
@@ -24,7 +25,7 @@ RUN cargo build --release
2425
# see https://github.com/nymtech/nym/blob/develop/nym-credential-proxy/nym-credential-proxy/src/cli.rs for details
2526
#-------------------------------------------------------------------
2627

27-
FROM ubuntu:24.04
28+
FROM harbor.nymte.ch/dockerhub/ubuntu:24.04
2829

2930
RUN apt update && apt install -yy curl ca-certificates
3031

nym-network-monitor.dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM rust:latest AS builder
1+
# this will only work with VPN, otherwise remove the harbor part
2+
FROM harbor.nymte.ch/dockerhub/rust:latest AS builder
23

34
COPY ./ /usr/src/nym
45
WORKDIR /usr/src/nym/nym-network-monitor

nym-node-status-api/nym-node-status-agent/Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM rust:latest AS builder
1+
# this will only work with VPN, otherwise remove the harbor part
2+
FROM harbor.nymte.ch/dockerhub/rust:latest AS builder
23

34
ARG GIT_REF=main
45

@@ -27,7 +28,7 @@ RUN cargo build --release
2728
# see https://github.com/nymtech/nym/blob/develop/nym-node-status-agent/src/cli.rs for details
2829
#-------------------------------------------------------------------
2930

30-
FROM ubuntu:24.04
31+
FROM harbor.nymte.ch/dockerhub/ubuntu:24.04
3132

3233
RUN apt-get update && apt-get install -y ca-certificates
3334

@@ -37,4 +38,4 @@ COPY --from=builder /usr/src/nym/target/release/nym-node-status-agent ./
3738
COPY --from=builder /usr/src/nym-vpn-client/nym-vpn-core/target/release/nym-gateway-probe ./
3839

3940
ENV NODE_STATUS_AGENT_PROBE_PATH=/nym/nym-gateway-probe
40-
ENTRYPOINT [ "/nym/nym-node-status-agent", "run-probe" ]
41+
ENTRYPOINT [ "/nym/nym-node-status-agent", "run-probe" ]

nym-node-status-api/nym-node-status-api/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM rust:latest AS builder
1+
# this will only work with VPN, otherwise remove the harbor part
2+
FROM harbor.nymte.ch/dockerhub/rust:latest AS builder
23

34
COPY ./ /usr/src/nym
45
WORKDIR /usr/src/nym/nym-node-status-api
@@ -26,7 +27,7 @@ RUN cargo build --release
2627
# see https://github.com/nymtech/nym/blob/develop/nym-node-status-api/src/cli.rs for details
2728
#-------------------------------------------------------------------
2829

29-
FROM ubuntu:24.04
30+
FROM harbor.nymte.ch/dockerhub/ubuntu:24.04
3031

3132
RUN apt-get update && apt-get install -y ca-certificates
3233

nym-node-status-api/nym-node-status-api/Dockerfile.dev

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04
1+
FROM harbor.nymte.ch/dockerhub/ubuntu:22.04
22

33
RUN apt-get update && apt-get install -y ca-certificates
44

nym-node/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM rust:latest AS builder
1+
# this will only work with VPN, otherwise remove the harbor part
2+
FROM harbor.nymte.ch/dockerhub/rust:latest AS builder
23

34
COPY ./ /usr/src/nym
45
WORKDIR /usr/src/nym/nym-node
@@ -65,7 +66,7 @@ RUN cargo build --release
6566
# see https://github.com/nymtech/nym/blob/develop/nym-node/src/env.rs for details
6667
#-------------------------------------------------------------------
6768

68-
FROM ubuntu:24.04
69+
FROM harbor.nymte.ch/dockerhub/ubuntu:24.04
6970

7071
WORKDIR /nym
7172

nym-validator-rewarder/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM rust:latest AS builder
1+
# this will only work with VPN, otherwise remove the harbor part
2+
FROM harbor.nymte.ch/dockerhub/rust:latest AS builder
23

34
COPY ./ /usr/src/nym
45
WORKDIR /usr/src/nym/nym-validator-rewarder
@@ -16,7 +17,7 @@ RUN cargo build --release
1617
# see https://github.com/nymtech/nym/blob/develop/nym-validator-rewarder/src/cli/mod.rs for details
1718
#-------------------------------------------------------------------
1819

19-
FROM ubuntu:24.04
20+
FROM harbor.nymte.ch/dockerhub/ubuntu:24.04
2021

2122
RUN apt-get update && apt-get install -y ca-certificates
2223

nyx-chain-watcher/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM rust:latest AS builder
1+
# this will only work with VPN, otherwise remove the harbor part
2+
FROM harbor.nymte.ch/dockerhub/rust:latest AS builder
23

34
COPY ./ /usr/src/nym
45
WORKDIR /usr/src/nym/nyx-chain-watcher
@@ -21,7 +22,7 @@ RUN cargo build --release
2122
# and https://github.com/nymtech/nym/blob/develop/nyx-chain-watcher/src/env.rs for env vars
2223
#-------------------------------------------------------------------
2324

24-
FROM ubuntu:24.04
25+
FROM harbor.nymte.ch/dockerhub/ubuntu:24.04
2526

2627
RUN apt update && apt install -yy curl ca-certificates
2728

0 commit comments

Comments
 (0)