-git clone from the config branch instead

-make run
-named image to go-i2p-node
This commit is contained in:
Haris Khan
2024-10-30 15:09:11 -04:00
parent 1795a1a722
commit 8dbac1603e
3 changed files with 4 additions and 4 deletions

View File

@ -30,4 +30,4 @@ test:
$(GOTEST) -v ./...
run: build
./$(BUILD_DIR)/$(BINARY_NAME1)
cd $(BUILD_DIR) && ./$(BINARY_NAME1)

View File

@ -10,7 +10,7 @@ RUN apk update && apk add --no-cache \
gcc \
musl-dev
RUN git clone -b noise-experimental https://github.com/go-i2p/go-i2p.git
RUN git clone -b config https://github.com/hkh4n/go-i2p.git
WORKDIR /go/src/app/go-i2p/

View File

@ -124,7 +124,7 @@ func createRouterContainer(cli *client.Client, ctx context.Context, routerID int
// Prepare container configuration
containerConfig := &container.Config{
Image: "go-i2p-testnet",
Image: "go-i2p-node",
Cmd: []string{"go-i2p"},
}
@ -238,7 +238,7 @@ func main() {
sigs := make(chan os.Signal, 1)
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
err = docker_control.BuildDockerImage(cli, ctx, "go-i2p-testnet", "../docker")
err = docker_control.BuildDockerImage(cli, ctx, "go-i2p-node", "../docker")
if err != nil {
log.Fatalf("Error building Docker image: %v", err)
}