dockerfiles: Fix entrypoints to be absolute paths

* Absolute entrypoints are expected for docker2aci
This commit is contained in:
Dalton Hubble
2016-01-24 18:01:54 -08:00
parent 6c1e8ec837
commit 4e90cea5e3
2 changed files with 2 additions and 2 deletions

View File

@@ -2,4 +2,4 @@ FROM alpine:latest
MAINTAINER Dalton Hubble <dalton.hubble@coreos.com>
COPY bin/bootcfg /bootcfg
EXPOSE 8080
ENTRYPOINT ["./bootcfg"]
ENTRYPOINT ["/bootcfg"]

View File

@@ -5,4 +5,4 @@ RUN mkdir -p /var/lib/tftpboot
RUN curl -s -o /var/lib/tftpboot/undionly.kpxe http://boot.ipxe.org/undionly.kpxe
RUN ln -s /var/lib/tftpboot/undionly.kpxe /var/lib/tftpboot/undionly.kpxe.0
EXPOSE 53
ENTRYPOINT ["dnsmasq", "-d"]
ENTRYPOINT ["/usr/sbin/dnsmasq", "-d"]