Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: works around statx issues by avoiding coreutils #225

Merged
merged 1 commit into from
Apr 16, 2024
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: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ FROM ghcr.io/openzipkin/java:11.0.22_p7 as zipkin-dependencies
LABEL org.opencontainers.image.description="Zipkin Dependencies Aggregator on OpenJDK and Alpine Linux"
LABEL org.opencontainers.image.source=https://github.com/openzipkin/zipkin-dependencies

# Adds coreutils to allow date formatting of 'yesterday'
RUN apk add --no-cache coreutils
# Adds dateutils to allow date formatting. Don't use coreutils until below:
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/16002
RUN apk add --no-cache dateutils

# Create custom user and ensure the process doesn't run as root
ARG USER=zipkin-dependencies
Expand Down
2 changes: 1 addition & 1 deletion docker/periodic/daily/zipkin-dependencies-yesterday
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
#

cd /zipkin-dependencies
start-zipkin-dependencies `date -ud yesterday +%F`
start-zipkin-dependencies `dateadd now -1d | dconv -f '%Y-%m-%d'`
Loading