Skip to content

Commit

Permalink
added docker command for dev/debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Dec 14, 2023
1 parent 8a819b7 commit d83dab6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- `docker` command forwarding cli to balena-engine to ease dev and debug

## [1.1.0] - 2023-12-08

### Added
Expand Down
2 changes: 2 additions & 0 deletions tree/stage2/06-docker-tweaks/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# download/install balena-engine using static bin
curl -sL https://github.com/balena-os/balena-engine/releases/download/v20.10.41/balena-engine-v20.10.41-arm64.tar.gz | tar xzv -C ${ROOTFS_DIR}/usr/local/bin/ --strip-components=1
# fake docker bin redirecting to balena (helps with dev)
install -m 755 files/docker "${ROOTFS_DIR}/usr/local/bin/"

# download/install docker-compose
curl -L "https://github.com/docker/compose/releases/download/v2.23.3/docker-compose-linux-aarch64" -o ${ROOTFS_DIR}/usr/local/bin/docker-compose
Expand Down
3 changes: 3 additions & 0 deletions tree/stage2/06-docker-tweaks/files/docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

balena-engine "$@"

0 comments on commit d83dab6

Please sign in to comment.