diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2026-09-04 22:26:09 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2026-09-04 22:26:09 +0200 |
| commit | 8165883a153e4bc2d50fa3710e47b76d9f79bb15 (patch) | |
| tree | 459dfc254dea60427159d24f48af4899b1d9fa53 /Makefile | |
| parent | 8c8d3ed3d7a478789a8fe3edf15ca4ce4c6a8b66 (diff) | |
Started Implementing Container Creation
We setup a single-use SSH key and can generate an SSH
configuration. Additionally, we support user SSH settings in
`~/.config/dbx/$NAME.ssh_config`.
This still doesn't quite work (there are some left-over TODOs).
In particular:
1. We need to get the generated SSH public key to the authorized
keys list on the devbox
2. We need to SCP and run the optional post-installation script
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -1,12 +1,17 @@ + +CONTAINER = $(if $(findstring Darwin,$(shell uname -s)),container,podman) + CC = cc CFLAGS = -Wall -Wextra -O2 LDFLAGS = -SRCS = $(shell find src -name '*.c') -OBJS = $(patsubst %.c,%.o,$(SRCS)) - -CONTAINER = $(if $(findstring Darwin,$(shell uname -s)),container,podman) -IMAGE = dbx-next +SRCS = src/cmd_create.c \ + src/engine_$(CONTAINER).c \ + src/main.c \ + src/proc.c \ + src/ssh.c +OBJS = $(patsubst %.c,%.o,$(SRCS)) +IMAGE = ghcr.io/nlordell/dbx:latest .PHONY: all all: dbx ; |
