Browse Source

Reduce image size and useless process

This reduces the image size (using alpine), and removes the `/bin/sh` process by using `ENTRYPOINT`
pull/99/head
Sam 6 years ago
committed by GitHub
parent
commit
b13d5e6af2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      beanstalkd/Dockerfile

7
beanstalkd/Dockerfile

@ -1,8 +1,7 @@
FROM debian:wheezy
FROM alpine
LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>"
ADD install.sh install.sh
RUN sh install.sh && rm install.sh
RUN apk add --no-cache beanstalkd
EXPOSE 11300
CMD ["beanstalkd", "-p", "11300"]
ENTRYPOINT ["/usr/bin/beanstalkd"]
Loading…
Cancel
Save