diff --git a/Makefile b/Makefile index 0a9b135..79d85d4 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,8 @@ run: docker run -it -v $(HOME)/.git-credentials:/root/.git-credentials -v $(HOME)/.gitconfig:/root/.gitconfig -v /var/run/docker.sock:/var/run/docker.sock -v $(shell pwd):/src $(IMAGE) sh run-alpine: docker run -it -v $(HOME)/.git-credentials:/root/.git-credentials -v $(HOME)/.gitconfig:/root/.gitconfig -v /var/run/docker.sock:/var/run/docker.sock -v $(shell pwd):/src golang:1.22.6-alpine sh +build-container: + docker run -it -v $(HOME)/.git-credentials:/root/.git-credentials -v $(HOME)/.gitconfig:/root/.gitconfig -v /var/run/docker.sock:/var/run/docker.sock -v $(shell pwd):/src -w /src rosskeenhouse/build-golang:1.22.6-alpine sh clean: go clean -modcache rm jx diff --git a/README.md b/README.md index 4fcc755..6adf4ea 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,9 @@ These tools work with YAML descriptions of resources (E.g. files, users, contain # Releases -**v0 releases are unstable and changes may be made to interfaces and specifications.** +**v0 releases are unstable and changes may be made to interfaces and specifications.** + +Use at your own risk. # JX Documents @@ -41,14 +43,14 @@ resources: # Testing -Testing the current version involves checking out main and building. +Testing the current version involves checking out main and building inside of the alpine go build container. ``` git clone https://gitea.rosskeen.house/doublejynx/jx.git -make test +make build-container -make build +make test ``` # Command-line