indigo-dc / oidc-agent

oidc-agent for managing OpenID Connect tokens on the command line
MIT License
110 stars 30 forks source link

oidc-agent installation on Linux Debian aarch64 #551

Open jaceksocha opened 10 months ago

jaceksocha commented 10 months ago

Hi,

We are testing oidc-agent i multi platform/multi architecture environment, during this we found one miss (or maybe we are doing something wrong), there is no package for Linux/Debian running on aarch64 architecture (https://repo.data.kit.edu//ubuntu/20.04/ amd64 only). Do you have plans to build package for this architecture ?

Apart from that, we want appreciate the project. Saying straight: you are doing great job!

Greeting

marcvs commented 10 months ago

Coincidance has it that I was asked about this just today. Unfortunately, currently our build infrastructure (running on amd64+docker) does not support other platforms.

There are two options for you: a) you use the old version 4.* of oidc-agent from ubuntu or debian. At least debian build for many architectures b) you build it yourself. In principle these commands should give you an installable package:

mkdir build-oidc-agent
cd build-oidc-agent
apt-get build-dep oidc-agent
apt-get source oidc-agent
cd oidc-agent-<version>
dpkg-buildpackage -uc -us
cd ..
ls *deb

This is very likely to build oidc-agent on whatever platform runs debian.