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

fixed unable to start with caddy, panic: runtime error: slice bounds … #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
14 changes: 12 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,21 @@ RUN apk add --no-cache ca-certificates wget \
&& echo "progress = dot:giga" | tee /etc/wgetrc

# Add and Setup Caddy webserver
RUN wget "https://github.com/caddyserver/caddy/releases/download/v0.10.11/caddy_v0.10.11_linux_amd64.tar.gz" -O /caddy.tgz \
RUN ARCH=$(uname -m) \
&& if [ "$ARCH" = "x86_64" ]; then \
CADDY_URL="https://github.com/caddyserver/caddy/releases/download/v0.11.5/caddy_v0.11.5_linux_amd64.tar.gz"; \
elif [ "$ARCH" = "aarch64" ]; then \
CADDY_URL="https://github.com/caddyserver/caddy/releases/download/v0.11.5/caddy_v0.11.5_linux_arm64.tar.gz"; \
else \
echo "Unsupported architecture: $ARCH"; \
exit 1; \
fi \
&& wget "$CADDY_URL" -O /caddy.tgz \
&& mkdir caddy \
&& tar xzf caddy.tgz -C /caddy --no-same-owner \
&& tar xzf /caddy.tgz -C /caddy --no-same-owner \
&& rm -f /caddy.tgz


# Add and Setup Kafka Connect UI
ARG KAFKA_CONNECT_UI_VERSION="0.9.7"
ARG KAFKA_CONNECT_UI_URL="https://github.com/Landoop/kafka-connect-ui/releases/download/v.${KAFKA_CONNECT_UI_VERSION}/kafka-connect-ui-${KAFKA_CONNECT_UI_VERSION}.tar.gz"
Expand Down