dockerfile-language-server
dockerfile-language-server copied to clipboard
Publish diagnostic if IP address of EXPOSE is invalid
trafficstars
The Docker builder will create an error if the IP address of an EXPOSE instruction is invalid. We should publish a diagnostic for this same error.
FROM scratch
EXPOSE 8080::8081
$ docker build .
Sending build context to Docker daemon 86.15MB
Step 1/2 : FROM scratch
--->
Step 2/2 : EXPOSE 8080::8081
Invalid ip address: 8080