Skip to content

Commit 879121b

Browse files
committed
Fix missing architectures in default repo
This commit updates the apt sources.list to use debian archive, this fixes an error in the "apt update" command of the entrypoint. This also fixes the deprecation notices of goreleaser
1 parent eed6f99 commit 879121b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ archives:
112112
format_overrides:
113113
- goos: windows
114114
formats: [ 'zip' ]
115-
builds:
115+
ids:
116116
- linux-amd64
117117
- linux-arm64
118118
- darwin-amd64
@@ -127,7 +127,7 @@ archives:
127127

128128
nfpms:
129129
- id: packages
130-
builds:
130+
ids:
131131
- linux-amd64
132132
- linux-arm64
133133
package_name: "{{ .Var.packageName }}"

docker/build/entrypoint.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
set -e
44

5+
# Fix for missing bullseye repos:
6+
echo 'deb http://archive.debian.org/debian bullseye main
7+
deb http://deb.debian.org/debian-security bullseye-security main
8+
deb http://archive.debian.org/debian bullseye-updates main' > /etc/apt/sources.list
9+
510
apt update
611
apt install --no-install-recommends -y curl pkg-config libpcsclite-dev libpcsclite-dev:arm64
712

0 commit comments

Comments
 (0)