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

Install package for DNIeRemote #8

Open
wants to merge 1 commit into
base: main
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
11 changes: 10 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,22 @@ WORKDIR /tmp
RUN <<-'EOT' sh
set -u

dnf install -y rpm-build cpio --setopt=install_weak_deps=False
dnf install -y rpm-build cpio alien --setopt=install_weak_deps=False

# Download AutoFirma
curl -fLs 'https://estaticos.redsara.es/comunes/autofirma/1/8/3/AutoFirma_Linux_Fedora.zip' -O
echo '8fcc7f7d3101ae313ac739bd8c640631cff5717d981f165b471a72e0e52b8a74 AutoFirma_Linux_Fedora.zip' | sha256sum --check --status
unzip AutoFirma_Linux_Fedora.zip

# Download DNIeRemote
case "$(rpm -E %{_arch})" in
x86_64)
curl -fLs 'https://www.dnielectronico.es/descargas/Apps/DNIeRemote_1.0-5_amd64.zip' -O
echo '8cb25f1f2b210bc73904da6a8c861415258de27fd86d4ea7035794f954afa6b5 DNIeRemote_1.0-5_amd64.zip' | sha256sum --check --status
unzip DNIeRemote_1.0-5_amd64.zip && alien --keep-version --to-rpm DNIeRemoteSetup_1.0-5_amd64.deb
;;
esac

# Download ConfiguradorFNMT
curl -fLs 'https://descargas.cert.fnmt.es/Linux/configuradorfnmt-4.0.6-0.x86_64.rpm' -O
echo 'a2c564ddc1f5e87b1c47afc196a7ef1d6b4844e59fc8b15cd828250dc9d43f03 configuradorfnmt-4.0.6-0.x86_64.rpm' | sha256sum --check --status
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Características
+ `java-17-openjdk`
+ [`autofirma-1.8.3-1.noarch_FEDORA.rpm`][5]
+ [`configuradorfnmt-4.0.6-0.x86_64.rpm`][6]
+ [`DNIeRemoteSetup-1.0-5.x86_64.rpm`][9]

Etiquetas
---------
Expand Down Expand Up @@ -72,3 +73,4 @@ el siguiente comando:
[6]: https://www.sede.fnmt.gob.es/descargas/descarga-software/instalacion-software-generacion-de-claves
[7]: https://docs.sigstore.dev/cosign/overview/
[8]: https://blue-build.org/learn/universal-blue/#fresh-install-from-an-iso
[9]: https://www.dnielectronico.es/PortalDNIe/PRF1_Cons02.action?pag=REF_1015&id_menu=66