Skip to content

Commit

Permalink
Merge pull request #88 from synfinatic/fix-docker
Browse files Browse the repository at this point in the history
Fix docker image
  • Loading branch information
synfinatic authored Mar 19, 2022
2 parents 1ab3457 + 343cbe3 commit 44ff47a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

## v0.0.10 - 2022-03-18

Fixed:
- Docker container would not start.

## v0.0.9 - 2022-02-21

Added:
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ ENV INTERFACES=""
ENV TIMEOUT=250
ENV CACHETTL=90
ENV EXTRA_ARGS=""
CMD /usr/local/bin/udp-proxy-2020 --port ${PORTS} --interface ${INTERFACES} \
--timeout ${TIMEOUT} --cachettl ${CACHETTL} ${EXTRA_ARGS}
CMD /usr/local/bin/udp-proxy-2020 --port $PORTS \
--interface $INTERFACES --timeout $TIMEOUT \
--cache-ttl $CACHETTL $EXTRA_ARGS
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GOARCH ?= $(shell uname -m | sed -E 's/x86_64/amd64/')
BUILDINFOSDET ?=
UDP_PROXY_2020_ARGS ?=

PROJECT_VERSION := 0.0.9
PROJECT_VERSION := 0.0.10
DOCKER_REPO := synfinatic
PROJECT_NAME := udp-proxy-2020
PROJECT_TAG := $(shell git describe --tags 2>/dev/null $(git rev-list --tags --max-count=1))
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ There is also a [docker image available](
https://hub.docker.com/repository/docker/synfinatic/udp-proxy-2020) for Linux on
AMD64 and ARM64 (like the Ubiquiti UDM).

Note that for Docker deployments, you should be using [host networking](
https://docs.docker.com/network/host/).

## Building udp-proxy-2020

If you are building for the same platform you intend to run `udp-proxy-2020`
Expand Down

0 comments on commit 44ff47a

Please sign in to comment.