A set of prebuilt snapd and snap tools for Amazon Linux 2.
-
Download the snap-confine and snapd packages from the Release page.
-
Install the package.
sudo yum -y install snap-confine-0.1.0-0.amzn2.x86_64.rpm snapd-0.1.0-0.amzn2.x86_64.rpm -
Enable the snapd.socket.
sudo systemctl enable --now snapd.socket -
Logout and login.
- Docker
-
Clone this repository.
git clone https://github.com/albuild/snap.git -
Go to the repository.
cd snap -
Build a new image.
bin/build -
Extract built packages from the built image. The packages will be copied to the ./rpm directory.
bin/cp -
Delete the built image.
bin/rmi