Transmode / gradle-docker

A Gradle plugin to build Docker images from the build script.
Apache License 2.0
647 stars 142 forks source link

Exposing UDP ports #48

Closed mattgruter closed 9 years ago

mattgruter commented 9 years ago

Exposing UDP ports on the command line or Dockerfile uses the syntax 162/udp The exposePort(port) method expects a port to be an integer.

Thus

exposePort("162/udp")

doesn't work

bjornmagnusson commented 9 years ago

Fixed with 8e9d9e4

benoahriz commented 7 years ago

Could not find method exposePort() for arguments [162/udp] on task ':doDocker' of type se.transmode.gradle.plugins.docker.DockerTask.

this isnt working.

works fine with a single integer value but udp as well as multiple ports isnt working. Using latest release 1.2... looks like the releases are way way behind...

benoahriz commented 7 years ago

just built this locally and seems to work...