Changed base image to alpine and added a whois package from edge

This commit is contained in:
Airton Zanon 2016-06-03 16:49:08 -03:00
parent 98683c6a68
commit c01437b55a

7
whois/Dockerfile Executable file → Normal file
View File

@ -1,9 +1,6 @@
FROM debian:wheezy
FROM alpine
MAINTAINER Airton Zanon "airtonzanon@gmail.com"
RUN apt-get update && \
apt-get install whois -y \
&& rm -rf /var/lib/apt/lists/*
RUN echo "@edge http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk --update --force add whois@edge
ENTRYPOINT ["whois"]
CMD ["--verbose"]