diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-05-25 15:42:43 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-05-25 15:42:43 +0530 |
| commit | ee0a5d881c896ccbd05ec16b5d7e3f12774c6844 (patch) | |
| tree | 178962538ce5350571166d20e5a218f6c9f348ec /containers | |
| parent | fd09c4aedaf47808ec44623dc063ca61b54b3762 (diff) | |
update
Diffstat (limited to 'containers')
| -rw-r--r-- | containers/debian/Dockerfile | 14 | ||||
| -rw-r--r-- | containers/debian/compose.yaml | 12 | ||||
| l--------- | containers/debian/scripts | 1 |
3 files changed, 27 insertions, 0 deletions
diff --git a/containers/debian/Dockerfile b/containers/debian/Dockerfile new file mode 100644 index 0000000..537893f --- /dev/null +++ b/containers/debian/Dockerfile @@ -0,0 +1,14 @@ +FROM debian:bookworm + +COPY scripts/provision-root.sh /provision-root.sh +RUN bash /provision-root.sh +RUN rm /provision-root.sh + +USER compromyse +WORKDIR /home/compromyse + +COPY scripts/provision-user.sh /tmp/provision-user.sh +RUN bash /tmp/provision-user.sh +RUN rm /tmp/provision-user.sh + +CMD [ "cat" ] diff --git a/containers/debian/compose.yaml b/containers/debian/compose.yaml new file mode 100644 index 0000000..69860b5 --- /dev/null +++ b/containers/debian/compose.yaml @@ -0,0 +1,12 @@ +services: + main: + build: . + stdin_open: true + tty: true + volumes: + - ~/shared:/shared + deploy: + resources: + limits: + cpus: '4' + memory: 56gb diff --git a/containers/debian/scripts b/containers/debian/scripts new file mode 120000 index 0000000..11aee1d --- /dev/null +++ b/containers/debian/scripts @@ -0,0 +1 @@ +../../scripts/
\ No newline at end of file |
