Files
mrvacommander/client/containers/vscode/Makefile
Michael Hohn 1e2df515e3 Set up and push Docker containers for demonstration purposes
These containers take the place of a desktop install
2024-09-04 15:52:18 -07:00

27 lines
646 B
Makefile

all: code-server-initialized
CSI_TARGET := code-server-initialized:0.1.24
csi: code-server-initialized
code-server-initialized:
docker build -t ${CSI_TARGET} .
touch $@
csi-serve: csi
docker run -d -p 9080:9080 ${CSI_TARGET}
clean:
-docker rmi -f ${CSI_TARGET}
-rm code-server-initialized
# Targets below are used after some manual setup of the container. See README.org
# for details
csi-push: csi
docker tag ${CSI_TARGET} ghcr.io/hohn/${CSI_TARGET}
docker push ghcr.io/hohn/${CSI_TARGET}
touch $@
csi-test:
docker pull ghcr.io/hohn/${CSI_TARGET}
docker run --rm -it --name test-code-server-codeql ghcr.io/hohn/${CSI_TARGET} sh