https://github.com/cliffano/packer-rtk
Packer builder of machine image for running RTK software release tool
https://github.com/cliffano/packer-rtk
docker packer rtk
Last synced: about 1 year ago
JSON representation
Packer builder of machine image for running RTK software release tool
- Host: GitHub
- URL: https://github.com/cliffano/packer-rtk
- Owner: cliffano
- License: mit
- Created: 2023-06-04T01:33:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-17T23:52:28.000Z (over 2 years ago)
- Last Synced: 2025-02-12T12:21:29.303Z (over 1 year ago)
- Topics: docker, packer, rtk
- Language: Makefile
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://github.com/cliffano/packer-rtk/actions?query=workflow%3ACI)
[](https://hub.docker.com/r/cliffano/rtk/)
[](https://snyk.io/test/github/cliffano/packer-rtk)
Packer RTK
----------
Packer RTK is a Packer builder of machine image for running [RTK](https://github.com/cliffano/rtk) software release tool.
| Packer RTK Version | Node Version | Alpine Version | RTK Version | Git Version |
|--------------------|--------------|----------------|-------------|-------------|
| 1.4.0 | 20.8.0 | 3.18 | 3.1.1 | 2.40.1 |
| 1.3.0 | 20.8.0 | 3.18 | 3.1.0 | 2.40.1 |
| 1.2.0 | 20.5.1 | 3.18 | 3.0.0 | 2.40.1 |
| 1.1.0 | 20.3.0 | 3.18 | 2.3.0 | 2.40.1 |
| 1.0.1 | 20.3.0 | 3.18 | 2.3.0 | - |
Installation
------------
Pull rtk Docker image from Docker Hub:
docker pull cliffano/rtk
Or alternatively, you can create the Docker image:
git clone https://github.com/cliffano/packer-rtk
cd packer-rtk
make build-docker
An image with `cliffano/rtk` repository and `latest` tag should show up:
haku> docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
cliffano/rtk 0.9.0-pre.0 347bfd9634a5 About an hour ago 623MB
cliffano/rtk latest 347bfd9634a5 About an hour ago 623MB
Usage
-----
Simply run a container using cliffano/rtk image:
docker run \
--rm \
--workdir /opt/workspace \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $(pwd):/opt/workspace \
-i -t cliffano/rtk
Alternatively, if you want to run the container via Docker Compose, you can have this in the configuration:
rtk:
image: cliffano/rtk
volumes:
- "${PWD}:/src"
working_dir: "/src"
and then run Docker Compose:
docker-compose run \
--rm \
rtk release --release-increment-type minor