Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/albuild/snap
Snappy for Amazon Linux 2
https://github.com/albuild/snap
Last synced: 4 days ago
JSON representation
Snappy for Amazon Linux 2
- Host: GitHub
- URL: https://github.com/albuild/snap
- Owner: albuild
- License: mit
- Created: 2018-12-21T14:20:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-21T18:38:14.000Z (about 4 years ago)
- Last Synced: 2024-08-02T20:46:30.412Z (3 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 22
- Watchers: 3
- Forks: 16
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome - albuild/snap - Snappy for Amazon Linux 2 (Dockerfile)
README
# albuild-snap
A set of prebuilt snapd and snap tools for Amazon Linux 2.
## Install (Amazon WorkSpaces)
### Instructions
1. Download the snap-confine and snapd packages from [the Release page](https://github.com/albuild/snap/releases/tag/v0.1.0).
1. 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
```1. Enable the snapd.socket.
```
sudo systemctl enable --now snapd.socket
```1. Logout and login.
## Build (Amazon WorkSpaces)
### System Requirements
* Docker
### Instructions
1. Clone this repository.
```
git clone https://github.com/albuild/snap.git
```1. Go to the repository.
```
cd snap
```1. Build a new image.
```
bin/build
```1. Extract built packages from the built image. The packages will be copied to the ./rpm directory.
```
bin/cp
```1. Delete the built image.
```
bin/rmi
```