Skip to content
Open
Show file tree
Hide file tree
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
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM golang:1.16 as builder
FROM golang:1.24 AS builder
WORKDIR /go/src/github.com/codekitchen/dinghy-http-proxy
COPY join-networks.go .
COPY go.mod .
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go get -v github.com/fsouza/go-dockerclient
RUN go mod tidy
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -v -o join-networks

FROM jwilder/nginx-proxy:alpine
Expand All @@ -29,8 +30,8 @@ COPY nginx.tmpl Procfile reload-nginx /app/

COPY htdocs /var/www/default/htdocs/

ENV DOMAIN_TLD docker
ENV DNS_IP 127.0.0.1
ENV HOSTMACHINE_IP 127.0.0.1
ENV DOMAIN_TLD=docker
ENV DNS_IP=127.0.0.1
ENV HOSTMACHINE_IP=127.0.0.1

EXPOSE 19322
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/codekitchen/dinghy-http-proxy

go 1.16
go 1.24

require github.com/fsouza/go-dockerclient v1.7.4
require github.com/fsouza/go-dockerclient v1.9.0
Loading