-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TW-84615] Include producing of TeamCity's DevKit into CI/CD (w/o Tea…
…mCity inside) (#119) * Add Dockrfiles for DevKit images. * Add Dockerfile for Agent and Server.
- Loading branch information
1 parent
16ea3a7
commit e9ca773
Showing
2 changed files
with
32 additions
and
0 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
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
16
configs/devkit/linux/server/ubuntu/Ubuntu.devkit.Dockerfile
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,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"] |