Browse Source

Merge pull request #99 from SamMousa/patch-1

Reduce image size and useless process
pull/101/head
Johannes Schickling 7 years ago
committed by GitHub
parent
commit
a39718a3a7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      beanstalkd/Dockerfile
  2. 4
      beanstalkd/README.md

7
beanstalkd/Dockerfile

@ -1,8 +1,7 @@
FROM debian:wheezy
FROM alpine
LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>" 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 EXPOSE 11300
CMD ["beanstalkd", "-p", "11300"]
ENTRYPOINT ["/usr/bin/beanstalkd"]

4
beanstalkd/README.md

@ -8,3 +8,7 @@ Lightweight image of the latest beanstalkd version
$ docker run -d -p 11300:11300 schickling/beanstalkd $ docker run -d -p 11300:11300 schickling/beanstalkd
``` ```
### Add configuration parameters like this:
```sh
$ docker run -d -p 11300:11300 schickling/beanstalkd -b /some/dir
```
Loading…
Cancel
Save