Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Perforce #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,15 @@ LABEL dockerImage.teamcity.version="latest" \
dockerImage.teamcity.buildNumber="latest"

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 323293EE && \
echo "deb http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu xenial main" > /etc/apt/sources.list.d/mercurial.list
echo "deb http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu xenial main" > /etc/apt/sources.list.d/mercurial.list && \
wget -qO - https://package.perforce.com/perforce.pubkey | apt-key add - && \
echo "deb http://package.perforce.com/apt/ubuntu xenial release" > /etc/apt/sources.list.d/peforce.list
RUN apt-get update && \
apt-get install -y git mercurial ca-certificates && \
apt-get install -y \
git \
mercurial \
helix-cli \
ca-certificates && \
apt-get clean all

COPY welcome.sh /welcome.sh
Expand All @@ -28,4 +34,4 @@ COPY dist/teamcity $TEAMCITY_DIST
VOLUME $TEAMCITY_DATA_PATH \
$TEAMCITY_LOGS

CMD ["/run-services.sh"]
CMD ["/run-services.sh"]