Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/pop/pop3
/pop/init_journal
/pop/restrict_access
/smtp/smtp
/tcp_server/tcp_server
/test
cert*
.*.sw*
Expand Down
2 changes: 1 addition & 1 deletion container-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ services:
context: denis
dockerfile: Containerfile
additional_contexts:
- watchtower_source=./watchtower
- watcher_source=./watcher
volumes:
- type: volume
source: email-mail
Expand Down
6 changes: 3 additions & 3 deletions denis/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ RUN apk add \
make \
;

COPY --from=watchtower_source . /watchtower
COPY --from=watcher_source . /watcher

RUN make -C /watchtower CC='clang -static' watcher
RUN make -C /watcher CC='clang -static'

FROM alpine:3.19 AS denis

Expand All @@ -26,7 +26,7 @@ RUN mkdir -p /var/lib/denis/ && \

RUN chown -R 100:100 /var/lib/denis

COPY --from=build /watchtower/watcher /usr/local/bin/watcher
COPY --from=build /watcher/watcher /usr/local/bin/watcher

VOLUME /var/lib/email/

Expand Down
1 change: 1 addition & 0 deletions pop/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pop3
init_journal
restrict_access
3 changes: 3 additions & 0 deletions pop/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/pop3
/init_journal
/restrict_access
2 changes: 1 addition & 1 deletion pop/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CC = clang
CFLAGS = -std=c2x -Weverything -Wno-unsafe-buffer-usage -Wno-c++98-compat -Wno-gnu-designator -Wno-gnu-case-range -Wno-initializer-overrides \
-Wno-declaration-after-statement -Wno-four-char-constants -Wno-pre-c2x-compat -Wno-disabled-macro-expansion -D_GNU_SOURCE
-Wno-declaration-after-statement -Wno-four-char-constants -Wno-pre-c2x-compat -Wno-disabled-macro-expansion -Wno-switch -Wno-switch-enum -D_GNU_SOURCE

ifdef DEBUG
CFLAGS += -DDEBUG -Og -g
Expand Down
Loading