Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
WIP: building a newer version of tmate
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Brandl committed Mar 7, 2016
1 parent 26cec68 commit f1c00ef
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM phusion/baseimage:0.9.13
FROM phusion/baseimage:latest
MAINTAINER Nicolas Pace <[email protected]>

# Set correct environment variables.
Expand All @@ -13,10 +13,14 @@ RUN /etc/my_init.d/00_regen_ssh_host_keys.sh
CMD ["/sbin/my_init"]

RUN apt-get update && \
apt-get -y install git-core build-essential pkg-config libtool libevent-dev libncurses-dev zlib1g-dev automake libssh-dev cmake ruby && \
apt-get -y install git-core build-essential pkg-config libtool libevent-dev libncurses-dev zlib1g-dev automake libssh-dev cmake ruby wget && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN git clone https://github.com/nviennot/tmate-slave.git
RUN wget https://github.com/msgpack/msgpack-c/releases/download/cpp-1.3.0/msgpack-1.3.0.tar.gz -O /msgpack-1.3.0.tar.gz && \
mkdir -p /usr/src/msgpack && tar zxf /msgpack-1.3.0.tar.gz --strip-components 1 -C /usr/src/msgpack && \
cd /usr/src/msgpack && ./configure --prefix=/usr && make && make install && rm -rf /msgpack-1.3.0.tar.gz /usr/src/msgpack

RUN git clone https://github.com/afirel/tmate-slave.git

RUN cd tmate-slave && \
./create_keys.sh && \
Expand Down

0 comments on commit f1c00ef

Please sign in to comment.