mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
Changed base image to alpine and added a whois package from edge
This commit is contained in:
parent
98683c6a68
commit
c01437b55a
7
whois/Dockerfile
Executable file → Normal file
7
whois/Dockerfile
Executable file → Normal file
|
@ -1,9 +1,6 @@
|
||||||
FROM debian:wheezy
|
FROM alpine
|
||||||
MAINTAINER Airton Zanon "airtonzanon@gmail.com"
|
MAINTAINER Airton Zanon "airtonzanon@gmail.com"
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN echo "@edge http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk --update --force add whois@edge
|
||||||
apt-get install whois -y \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ENTRYPOINT ["whois"]
|
ENTRYPOINT ["whois"]
|
||||||
CMD ["--verbose"]
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user