-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added S3 third party support (#3054)
- Loading branch information
Showing
59 changed files
with
6,735 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# This Dockerfile makes the FIPS "build box": the container used to build official | ||
# FIPS releases of Teleport and its documentation. | ||
FROM quay.io/gravitational/buildbox-base:1.0 | ||
|
||
ARG UID | ||
ARG GID | ||
|
||
COPY pam/pam_teleport.so /lib/x86_64-linux-gnu/security | ||
COPY pam/teleport-acct-failure /etc/pam.d | ||
COPY pam/teleport-session-failure /etc/pam.d | ||
COPY pam/teleport-success /etc/pam.d | ||
|
||
RUN apt-get update; apt-get install -q -y libpam-dev libc6-dev-i386 net-tools tree | ||
|
||
RUN (groupadd jenkins --gid=$GID -o && useradd jenkins --uid=$UID --gid=$GID --create-home --shell=/bin/sh ;\ | ||
mkdir -p /var/lib/teleport && chown -R jenkins /var/lib/teleport) | ||
|
||
# Install etcd. | ||
RUN (curl -L https://github.com/coreos/etcd/releases/download/v3.3.9/etcd-v3.3.9-linux-amd64.tar.gz | tar -xz ;\ | ||
cp etcd-v3.3.9-linux-amd64/etcd* /bin/) | ||
|
||
# Install Go. | ||
ARG RUNTIME | ||
RUN mkdir -p /opt && cd /opt && curl https://go-boringcrypto.storage.googleapis.com/${RUNTIME}b4.linux-amd64.tar.gz | tar xz;\ | ||
mkdir -p /gopath/src/github.com/gravitational/teleport;\ | ||
chmod a+w /gopath;\ | ||
chmod a+w /var/lib;\ | ||
chmod a-w / | ||
|
||
ENV GOPATH="/gopath" \ | ||
GOROOT="/opt/go" \ | ||
PATH="$PATH:/opt/go/bin:/gopath/bin:/gopath/src/github.com/gravitational/teleport/build" | ||
|
||
VOLUME ["/gopath/src/github.com/gravitational/teleport"] | ||
EXPOSE 6600 2379 2380 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM ubuntu:18.04 | ||
|
||
# Install dumb-init and ca-certificate. The dumb-init package is to ensure | ||
# signals and orphaned processes are are handled correctly. The ca-certificate | ||
# package is installed because the base Ubuntu image does not come with any | ||
# certificate authorities. | ||
# | ||
# Note that /var/lib/apt/lists/* is cleaned up in the same RUN command as | ||
# "apt-get update" to reduce the size of the image. | ||
RUN apt-get update && apt-get upgrade -y && \ | ||
apt-get install --no-install-recommends -y \ | ||
dumb-init \ | ||
ca-certificates \ | ||
&& update-ca-certificates \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Bundle "teleport", "tctl", and "tsh" binaries into image. | ||
ADD teleport /usr/local/bin/teleport | ||
ADD tctl /usr/local/bin/tctl | ||
ADD tsh /usr/local/bin/tsh | ||
|
||
# By setting this entry point, we expose make target as command. | ||
ENTRYPOINT ["/usr/bin/dumb-init", "teleport", "start", "-c", "/etc/teleport/teleport.yaml", "--fips"] |
Oops, something went wrong.