add dockerfile for development (#38)

pull/40/head
Marcus Kok 1 year ago committed by GitHub
parent 398181ba28
commit 6aadf9c901
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,10 @@
FROM golang:1.21.12
RUN apt-get update && \
apt-get install -y git neovim make
WORKDIR /app
COPY go.mod go.sum /
RUN go mod download
COPY . .
RUN make install
ENTRYPOINT sh

@ -45,4 +45,13 @@ make sandbox # creates the directory and copies over from ~/.config
make clean # removes directory
```
### Docker
You can also run the docker container that will set up a barebones shell for you
to test dotctl with
```sh
docker built -d dotctl-dev .
docker run -it dotctl-dev
dotctl status
```

Loading…
Cancel
Save