Browse Source

beanstalkd

pull/2/head
Johannes Schickling 10 years ago
parent
commit
cde19b2541
  1. 1
      README.md
  2. 8
      beanstalkd/Dockerfile
  3. 10
      beanstalkd/README.md
  4. 21
      beanstalkd/install.sh

1
README.md

@ -5,6 +5,7 @@ Collection of lightweight and ready-to-use docker images
## Images ## Images
* **[Beanstalkd](https://github.com/schickling/dockerfiles/tree/master/beanstalkd)** - Lightweight image of the latest beanstalkd version
* **[Hugin](https://github.com/schickling/dockerfiles/tree/master/hugin)** - Hugin & Panorama tools * **[Hugin](https://github.com/schickling/dockerfiles/tree/master/hugin)** - Hugin & Panorama tools
* **[Jekyll](https://github.com/schickling/dockerfiles/tree/master/jekyll)** - Lightweight jekyll working environment * **[Jekyll](https://github.com/schickling/dockerfiles/tree/master/jekyll)** - Lightweight jekyll working environment
* **[Latex](https://github.com/schickling/dockerfiles/tree/master/latex)** - Full texlive distribution * **[Latex](https://github.com/schickling/dockerfiles/tree/master/latex)** - Full texlive distribution

8
beanstalkd/Dockerfile

@ -0,0 +1,8 @@
FROM debian:wheezy
MAINTAINER Johannes Schickling "schickling.j@gmail.com"
ADD install.sh install.sh
RUN chmod +x install.sh && ./install.sh && rm install.sh
EXPOSE 11300
CMD ["beanstalkd", "-p", "11300"]

10
beanstalkd/README.md

@ -0,0 +1,10 @@
# rust
Lightweight image of the latest beanstalkd version
## Usage
```sh
$ docker run -d -p 11300:11300 schickling/beanstalkd
```

21
beanstalkd/install.sh

@ -0,0 +1,21 @@
#! /bin/bash
# exit if a command fails
set -e
version="1.10"
# install curl (needed to install rust)
apt-get update && apt-get install -y curl build-essential
# download
curl -sL https://github.com/kr/beanstalkd/archive/v$version.tar.gz | tar xvz -C /tmp
# build and install
cd /tmp/beanstalkd-$version
make
cp beanstalkd /usr/bin
# cleanup package manager
apt-get remove --purge -y curl build-essential && apt-get autoclean && apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Loading…
Cancel
Save