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

Fix error with not existing webapps/ROOT/WEB-INF/ #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions context/generated/linux/Server/UbuntuARM/20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ RUN chmod +x /welcome.sh /run-server.sh /run-services.sh && sync && \
chown -R tcuser:tcuser /services $TEAMCITY_DIST $TEAMCITY_DATA_PATH $TEAMCITY_LOGS $CATALINA_TMPDIR

COPY --chown=tcuser:tcuser TeamCity $TEAMCITY_DIST
RUN mkdir -p $TEAMCITY_DIST/webapps/ROOT/WEB-INF/
RUN echo "docker-ubuntu" > $TEAMCITY_DIST/webapps/ROOT/WEB-INF/DistributionType.txt

USER tcuser:tcuser
Expand Down
8 changes: 7 additions & 1 deletion context/generated/teamcity-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@ Docker build commands:
docker pull ubuntu:20.04
echo TeamCity/buildAgent > context/.dockerignore
echo TeamCity/temp >> context/.dockerignore
docker build -f "context/generated/linux/Server/Ubuntu/20.04/Dockerfile" -t teamcity-server:EAP-linux "context"
docker buildx --platform linux/arm64 -f "context/generated/linux/Server/UbuntuARM/20.04/Dockerfile" -t teamcity-server:EA
```

For windows only:
```
%USERPROFILE%\.docker\cli-plugins\buildx-v0.7.0.windows-amd64.exe build --platform linux/arm64 -f "context/generated/linux/Server/UbuntuARM/20.04/Dockerfile" -t teamcity-server:EA
P-linux-arm64-20.04 "context"
```

_The required free space to generate image(s) is about **1 GB**._
Expand Down