Skip to content

canonical/charmed-valkey-rock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Charmed Valkey rock

Release to GHCR

This repository contains the packaging metadata for creating a rock of Charmed Valkey built from Charmed Valkey Snap. For more information on rocks, visit the rockcraft Github.

Building the rock

The steps outlined below are based on the assumption that you are building the rock with the latest LTS of Ubuntu.
If you are using another version of Ubuntu or another operating system, the process may be different.

Clone Repository

git clone git@github.com:canonical/charmed-valkey-rock.git
cd charmed-valkey-rock

Installing Prerequisites

sudo snap install rockcraft --edge --classic
sudo snap install docker
sudo snap install lxd
sudo apt-get -y update && sudo apt-get -y install skopeo

Configuring Prerequisites

sudo usermod -aG docker $USER 
sudo lxd init --auto

NOTE: You will need to open a new shell for the group change to take effect (i.e. su - $USER)

Packing and Running the rock

rockcraft pack
sudo skopeo --insecure-policy copy oci-archive:valkey*.rock docker-daemon:valkey:<tag>
docker run --rm -it valkey:<tag>

License:

The Charmed Valkey rock is free software, distributed under the Apache Software License, version 2.0. See licenses for more information.

About

Charmed Valkey ROCK image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages