Secure-file does not work in latest Ubuntu image

Hi,

Secure-file seems to be running on .NET Core 3.1.0. Latest Ubunto does not have that installed.

curl -sflL 'https://raw.githubusercontent.com/appveyor/secure-file/master/install.sh' | bash -e -
./appveyor-tools/secure-file -decrypt sshkey.enc -secret $sshkey
You must install or update .NET to run this application.
App: /home/appveyor/projects/goldengate/appveyor-tools/secure-file.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '3.1.0' (x64)
.NET location: /usr/share/dotnet/
The following frameworks were found:
  6.0.36 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  7.0.20 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  8.0.19 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  9.0.4 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1.0&arch=x64&rid=linux-x64&os=ubuntu.22.04

  1. Doesn't work in previous version either.

  2. Looking into that.

  3. It's been fixed.

  4. Thank you!

    Seems something with Java got broken instead though. It has been working before.

    mvn clean validate compile test package verify -DskipTests
    The JAVA_HOME environment variable is not defined correctly
    This environment variable is needed to run this program
    NB: JAVA_HOME should point to a JDK not a JRE
    Command exited with code 1
    Build failed

  5. Sure, we are looking into that.

  6. Try using Previous image to get yourself unblocked.

  7. Does the java error occur on Ubuntu2004 as well?

  8. Getting the issue in all these:
    image: Ubuntu
    image: Previous Ubuntu
    image: Previous Ubuntu2204

    Works:
    image: Previous Ubuntu2004
    image: Previous Ubuntu1804

  9. I don't see anything amiss with $JAVA_HOME variable on any of those images.

  10. Still have the issue. We run Java8 and have been setting it like this, guessing that this is the issue:

      environment:
        JAVA_HOME: /usr/lib/jvm/java-1.8.0-openjdk-amd64

  11. Why are you setting JAVA_HOME variable when it's already set on the build VM? Are you downloading your own JDK and placing it there?

  12. Feodor Fitsner closed this discussion on 03 Feb, 2026 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions