Open gjelenc opened 6 years ago
Adding JavaFX would increase image size by about 100Mb, so I'd prefer to avoid doing that. I could suggest you to make new image based on 'jetbrains/teamcity-agent' with following Dockerfile
FROM jetbrains/teamcity-agent:latest
RUN apt-get -qq update && apt-get install -y openjfx
I have similar problem with package com.sun.javafx. But unfortunately creating image with openjfx does not work
When agent is building maven goal package it reports that the following packages does not exists:
Agent parameters: docker.server.osType linux docker.server.version 17.09.0 docker.version 17.06.0 teamcity.agent.hardware.cpuCount 6 teamcity.agent.hardware.memorySizeMb 11845 teamcity.agent.home.dir /opt/buildagent teamcity.agent.hostname teamcity.agent1 teamcity.agent.jvm.file.encoding UTF-8 teamcity.agent.jvm.file.separator / teamcity.agent.jvm.java.home /usr/lib/jvm/oracle-jdk/jre teamcity.agent.jvm.os.arch amd64 teamcity.agent.jvm.os.name Linux teamcity.agent.jvm.os.version 3.10.0-693.5.2.el7.x86_64 teamcity.agent.jvm.path.separator : teamcity.agent.jvm.specification 1.8 teamcity.agent.jvm.user.country US teamcity.agent.jvm.user.home /root teamcity.agent.jvm.user.language en teamcity.agent.jvm.user.name root teamcity.agent.jvm.user.timezone Etc/UTC teamcity.agent.jvm.version 1.8.0_131 teamcity.agent.launcher.version 50574 teamcity.agent.name teamcity.agent1 teamcity.agent.os.arch.bits 64 teamcity.agent.ownPort 9090 teamcity.agent.protocol polling teamcity.agent.tools.dir /opt/buildagent/tools teamcity.agent.work.dir /opt/buildagent/work teamcity.agent.work.dir.freeSpaceMb 6482 teamcity.hg.agent.path hg teamcity.hg.version 3.7.3 teamcity.serverUrl http://teamcity.server:8111 teamcity.tool.JetBrains.dotCover.CommandLineTools.bundled /opt/buildagent/tools/JetBrains.dotCover.CommandLineTools.bundled teamcity.tool.TeamCity.Dotnet.Integration.1.0.0 /opt/buildagent/plugins/dotnet.cli/tools/TeamCity.Dotnet.Integration.1.0.0 teamcity.tool.TeamCity.Dotnet.Integration.BUNDLED /opt/buildagent/plugins/dotnet.cli/tools/TeamCity.Dotnet.Integration.1.0.0 teamcity.tool.TeamCity.Dotnet.Integration.DEFAULT /opt/buildagent/plugins/dotnet.cli/tools/TeamCity.Dotnet.Integration.1.0.0 teamcity.tool.ant-net-tasks /opt/buildagent/tools/ant-net-tasks teamcity.tool.gant /opt/buildagent/tools/gant teamcity.tool.idea /opt/buildagent/tools/idea teamcity.tool.jacoco /opt/buildagent/tools/jacoco teamcity.tool.jetbrains.resharper-clt.bundled /opt/buildagent/tools/jetbrains.resharper-clt.bundled teamcity.tool.jps /opt/buildagent/tools/jps teamcity.tool.maven /opt/buildagent/tools/maven teamcity.tool.maven3 /opt/buildagent/tools/maven3 teamcity.tool.maven3_1 /opt/buildagent/tools/maven3_1 teamcity.tool.maven3_2 /opt/buildagent/tools/maven3_2 teamcity.tool.maven3_3 /opt/buildagent/tools/maven3_3