-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
53 lines (38 loc) · 1.06 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
include .env
launch:
slack-wrapper slack
kill-container:
${CONTAINER_ENGINE} kill slack
build:
${CONTAINER_ENGINE} build -t docker.io/stifstof/slack:latest -f Containerfile .
build-no-cache:
${CONTAINER_ENGINE} build --no-cache -t docker.io/stifstof/slack:latest -f Containerfile .
install:
${CONTAINER_ENGINE} run -it --rm \
--volume ${PWD}/bin:/target \
docker.io/stifstof/slack:latest install
uninstall:
${CONTAINER_ENGINE} run -it --rm \
--volume ${PWD}/bin:/target \
docker.io/stifstof/slack:latest uninstall
# convenience jobs
push:
echo ${DOCKERHUB_STIFSTOF_PW} | ${CONTAINER_ENGINE} login docker.io -u stifstof --password-stdin
${CONTAINER_ENGINE} push docker.io/stifstof/slack:latest
reinstall:
make uninstall
make build
make install
create-empty-config-folders:
mkdir ~/.config/Slack
# system setup
add-to-path:
export PATH=$PATH:/home/cn/Documents/git/docker-slack-desktop/bin
podman_runtime:
rm -f .env
echo "CONTAINER_ENGINE=podman" >> .env
docker_runtime:
rm -f .env
echo "CONTAINER_ENGINE=docker" >> .env
current_runtime:
cat .env