Skip to content

Commit

Permalink
Update Dockerfile (gravitational#6499)
Browse files Browse the repository at this point in the history
remove unnecessary apt-get update and small rework

Co-authored-by: Andrew Lytvynov <[email protected]>
  • Loading branch information
gecube and Andrew Lytvynov authored Apr 21, 2021
1 parent 5ca1b0d commit b66bda8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# The base image (buildbox:latest) is built by running `make -C build.assets`
# from the base repo directory $GOPATH/gravitational.com/teleport
FROM quay.io/gravitational/teleport-buildbox:go1.15.5
RUN apt-get update

# DEBUG=1 is needed for the Web UI to be loaded from static assets instead
# of the binary
ENV DEBUG=1 GOPATH=/root/go PATH=$PATH:/root/go/src/github.com/gravitational/teleport/build:/root/go/bin

# htop is useful for testing terminal resizing
RUN apt-get update; apt-get install -y htop vim screen; \
RUN apt-get update && \
apt-get install -y htop vim screen && \
mkdir -p /root/go/src/github.com/gravitational/teleport

# allows ansible and ssh testing
Expand Down

0 comments on commit b66bda8

Please sign in to comment.