Skip to content

Instantly share code, notes, and snippets.

@mhausenblas
Last active September 16, 2018 06:12
Show Gist options
  • Save mhausenblas/39c482c360b55c05f65b890298e4f176 to your computer and use it in GitHub Desktop.
Save mhausenblas/39c482c360b55c05f65b890298e4f176 to your computer and use it in GitHub Desktop.
online env for kubed-sh
FROM ubuntu:16.04
MAINTAINER Michael Hausenblas, mhausenblas.info
USER 1001
WORKDIR /app
RUN chown -R 1001:1 /app
# install ttyd and kubed-sh
RUN curl -s -L https://github.com/tsl0922/ttyd/releases/download/1.4.2/ttyd_linux.x86_64 -o ttyd && \
chmod +x ttyd && \
curl -s -L https://github.com/mhausenblas/kubed-sh/releases/download/0.5.1/kubed-sh-linux -o kubed-sh && \
chmod +x kubed-sh
EXPOSE 8080
CMD ["/app/ttyd -p 8080 /app/kubed-sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment