Skip to content

Commit

Permalink
[TW-84615] Include producing of TeamCity's DevKit into CI/CD (w/o Tea…
Browse files Browse the repository at this point in the history
…mCity inside) (#119)

* Add Dockrfiles for DevKit images.

* Add Dockerfile for Agent and Server.
  • Loading branch information
AndreyKoltsov1997 authored Oct 30, 2023
1 parent 16ea3a7 commit e9ca773
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions configs/devkit/linux/agent/Ubuntu.devkit.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
# The DevKit container is the environment in which TeamCity is executed. It is as an environment for the testing ...
# ... of potential tooling extension and security testing purposes.
#

# @param teamCityImage TeamCity Agent Docker Image
ARG teamCityImage

FROM ${teamCityImage}

USER root

RUN rm -rf /opt/buildagent
USER buildagent

CMD ["sleep", "infinity"]
16 changes: 16 additions & 0 deletions configs/devkit/linux/server/ubuntu/Ubuntu.devkit.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
# The DevKit container is the environment in which TeamCity is executed. It is as an environment for the testing ...
# ... of potential tooling extension and security testing purposes.
#

# @param teamCityImage TeamCity Server Docker Image
ARG teamCityImage

FROM ${teamCityImage}

USER root

RUN rm -rf /opt/teamcity
USER tcuser:tcuser

CMD ["sleep", "infinity"]

0 comments on commit e9ca773

Please sign in to comment.