Skip to content

Instantly share code, notes, and snippets.

@degnome
Created April 27, 2016 14:24
Show Gist options
  • Save degnome/ac7aad54b2e9baff7ad15e648359fdb2 to your computer and use it in GitHub Desktop.
Save degnome/ac7aad54b2e9baff7ad15e648359fdb2 to your computer and use it in GitHub Desktop.
FROM irvui/alpine-node:4.4.3
MAINTAINER Daniel Scholl <[email protected]>
WORKDIR /opt/tool
RUN apk add --no-cache curl make gcc g++ binutils-gold python linux-headers paxctl libgcc libstdc++ gnupg && \
adduser -S tspace && \
addgroup -S tspace && \
npm install -g mesosdns-cli && \
apk del curl make gcc g++ binutils-gold python linux-headers paxctl gnupg ${DEL_PKGS} && \
rm -rf rm -rf ${RM_DIRS} && \
chown -R tspace:tspace /opt/tool
CMD ["sh", "-c", "/usr/bin/mesosdns-cli --serviceName ${MESOSDNS_CNAME}"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment