Skip to content

Commit

Permalink
initial build with 0.38.0-2
Browse files Browse the repository at this point in the history
  • Loading branch information
white-hat committed Dec 19, 2018
0 parents commit 786c73b
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM ubuntu:xenial
LABEL maintainer="[email protected]"
ENV VERSION=0.38.0-2

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -y wget apt-transport-https
COPY mcrouter.list /etc/apt/sources.list.d/
RUN wget -O - https://facebook.github.io/mcrouter/debian/PUBLIC.KEY | apt-key add && \
apt-get update -y && \
apt-get install -y mcrouter=$VERSION && \
apt-get clean

ENTRYPOINT ["mcrouter"]
13 changes: 13 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!groovy

pipeline {
agent { label 'ubuntu16' }

stages {
stage('Build') {
steps {
dockerBuildTagPush()
}
}
}
}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
docker-mcrouter
---

This is an ubuntu 16.04 based Docker image for [Mcrouter](https://github.com/facebook/mcrouter), a popular memcache router. It speaks the memcached ASCII protocol and allows you to create memcached clusters (replicated or sharded) along with various features ranging from failover to flexible key routing. Please refer to [mcrouter Wiki](https://github.com/facebook/mcrouter/wiki) for more information
1 change: 1 addition & 0 deletions mcrouter.list
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
deb https://facebook.github.io/mcrouter/debian xenial contrib

0 comments on commit 786c73b

Please sign in to comment.