-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(packaging): package for Ubuntu Jammy (#4870)
- Loading branch information
Showing
14 changed files
with
226 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
ARG REGISTRY_URL | ||
|
||
FROM ${REGISTRY_URL}/ubuntu:jammy | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
# fix locale | ||
RUN bash -e <<EOF | ||
|
||
apt-get update | ||
apt-get install -y locales | ||
rm -rf /var/lib/apt/lists/* | ||
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 | ||
apt-get clean | ||
|
||
EOF | ||
|
||
ENV LANG en_US.utf8 | ||
|
||
RUN bash -e <<EOF | ||
|
||
apt-get update | ||
|
||
echo 'http://deb.debian.org/debian' | apt-get install -y pbuilder | ||
|
||
apt-get install -y \ | ||
dh-make \ | ||
aptitude \ | ||
ca-certificates \ | ||
libssh-dev \ | ||
lintian \ | ||
quilt \ | ||
git-buildpackage \ | ||
debmake \ | ||
devscripts \ | ||
fakeroot \ | ||
curl \ | ||
gcc \ | ||
git \ | ||
python3 \ | ||
libjson-perl \ | ||
libapp-fatpacker-perl \ | ||
libfile-copy-recursive-perl \ | ||
jq \ | ||
zstd | ||
|
||
echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list | ||
apt-get update | ||
apt-get install -y nfpm | ||
|
||
apt-get clean | ||
|
||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.