diff --git a/context/generated/linux/Server/UbuntuARM/20.04/Dockerfile b/context/generated/linux/Server/UbuntuARM/20.04/Dockerfile index 85b200c4d..ef8cdea2a 100644 --- a/context/generated/linux/Server/UbuntuARM/20.04/Dockerfile +++ b/context/generated/linux/Server/UbuntuARM/20.04/Dockerfile @@ -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 diff --git a/context/generated/teamcity-server.md b/context/generated/teamcity-server.md index b46429c08..5c0590ae4 100644 --- a/context/generated/teamcity-server.md +++ b/context/generated/teamcity-server.md @@ -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**._