x86_64-alpine-wetty/Dockerfile
Jonathan Ervine b93486036f new file: Dockerfile
new file:   Jenkinsfile
	new file:   run.sh
Initial commit
2020-02-25 17:09:52 +08:00

25 lines
560 B
Docker

# Base on latest (edge) alpine image
FROM node:10-alpine
MAINTAINER Sven Fischer <sven@leiderfischer.de>
WORKDIR /src
RUN apk add --no-cache --virtual .build-deps \
git python make g++ \
&& apk add --no-cache openssh-client \
&& git clone https://github.com/krishnasrinivas/wetty --branch v1.1.4 /src \
&& npm install \
&& apk del .build-deps \
&& adduser -h /src -D term \
&& npm run-script build
ADD run.sh /src
# Default ENV params used by wetty
ENV REMOTE_SSH_SERVER=127.0.0.1 \
REMOTE_SSH_PORT=22
EXPOSE 3000
ENTRYPOINT "./run.sh"