Complete reimplementation to support cross platform usage without namespaces
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
BUILD_COMMIT = $(shell git rev-parse HEAD)
|
||||
BASE_IMAGE = registry.fedoraproject.org/fedora-toolbox
|
||||
BASE_IMAGE_VERSION = $(shell cat /etc/os-release | grep VERSION_ID | cut -d = -f 2)
|
||||
REPOSITORY = localhost/toolbox-dev-env
|
||||
|
||||
build:
|
||||
podman build ./container/ --tag $(REPOSITORY):$(BUILD_COMMIT) --build-arg BASE_IMAGE="$(BASE_IMAGE)" --build-arg BASE_IMAGE_VERSION="$(BASE_IMAGE_VERSION)" --build-arg BUILD_COMMIT="$(BUILD_COMMIT)"
|
||||
podman tag $(REPOSITORY):$(BUILD_COMMIT) $(REPOSITORY):latest
|
||||
|
||||
install: build
|
||||
|
||||
mkdir --parents ~/.config/bashrc.d
|
||||
cp scripts.d/*.sh ~/.config/bashrc.d/
|
||||
|
||||
mkdir --parents ~/.config/completions.d
|
||||
cp completions.d/*.completion ~/.config/completions.d/
|
||||
|
||||
cp bashrc.sh ~/.bashrc
|
||||
cp inputrc ~/.inputrc
|
||||
Reference in New Issue
Block a user