Skip to content
Open
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
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM alpine:3.16
FROM alpine:3.22.2

MAINTAINER "Emmett Culley" <eculley@ccctechcenter.org>
LABEL maintainer="Ken Van Mersbergen <kvanmersbergen@ccctechcenter.org>"

RUN apk --update --no-cache add dcron

RUN mkdir -p /var/www
VOLUME ["/var/www"]
VOLUME /var/www
WORKDIR /var/www

# Add crontab file in the cron directory
Expand All @@ -18,4 +18,4 @@ RUN chmod 0644 /etc/cron.d/hello-cron
RUN touch /var/log/cron.log

# Run the command on container startup
CMD tail -f /var/log/cron.log
CMD ["tail", "-f", "/var/log/cron.log"]
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
# artisan-cron

```bash
docker buildx build . --progress plain --platform linux/amd64,linux/arm64 -t registry.ccctechcenter.org/ccctechcenter/artisan-cron:1.0.16
```

```bash
docker push registry.ccctechcenter.org/ccctechcenter/artisan-cron:1.0.16
```