Skip to content
Merged
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
4 changes: 2 additions & 2 deletions docker-zookeeper/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.25-alpine3.23 as builder

Check warning on line 1 in docker-zookeeper/docker/Dockerfile

View workflow job for this annotation

GitHub Actions / qubership-docker-zookeeper Image Build

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 1 in docker-zookeeper/docker/Dockerfile

View workflow job for this annotation

GitHub Actions / qubership-docker-zookeeper Image Build

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
ARG BUILDPLATFORM
ARG TARGETOS
ARG TARGETARCH
Expand Down Expand Up @@ -33,7 +33,7 @@
ZOOKEEPER_BACKUP_PORT=8081

WORKDIR /
COPY --from=builder --chown=${USER_UID} /workspace/zookeeper-assistant .

Check warning on line 36 in docker-zookeeper/docker/Dockerfile

View workflow job for this annotation

GitHub Actions / qubership-docker-zookeeper Image Build

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$USER_UID' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 36 in docker-zookeeper/docker/Dockerfile

View workflow job for this annotation

GitHub Actions / qubership-docker-zookeeper Image Build

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$USER_UID' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

# Install misc tools
RUN set -x \
Expand Down Expand Up @@ -67,8 +67,8 @@
&& usermod -a -G 0 zookeeper

# Reminder: we don't upgrade it to 3.9.x until Clickhouse support
ARG DISTRO_NAME=apache-zookeeper-3.8.5-bin
ARG DISTRO_VERSION_NAME=zookeeper-3.8.5
ARG DISTRO_NAME=apache-zookeeper-3.8.6-bin
ARG DISTRO_VERSION_NAME=zookeeper-3.8.6
# Download Apache Zookeeper and install
RUN set -x \
&& export DISTR_DIR="$(mktemp -d)" \
Expand Down
Loading