Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Dmitri/bump teleport #41

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM golang:1.9

ARG UID
ARG GID

RUN groupadd builder --gid=$GID -o; \
useradd builder --uid=$UID --gid=$GID --create-home --shell=/bin/bash;

RUN (mkdir -p /go/src/github.com/gravitational/teleconsole && chown -R builder /go)
RUN (mkdir -p /go/bin)

ENV LANGUAGE="en_US.UTF-8" \
LANG="en_US.UTF-8" \
LC_ALL="en_US.UTF-8" \
LC_CTYPE="en_US.UTF-8" \
GOPATH="/go" \
PATH="$PATH:/opt/go/bin:/go/bin"

VOLUME ["/go/src/github.com/gravitational/teleconsole"]
Loading