github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/docker/Dockerfile-datascript (about)

     1  # Build client images for mysql and postgres to support datascripts
     2  # The latest release to date is 3.18) as of 20230625
     3  FROM docker.io/alpine:3.18 as dist
     4  # ARG APK_MIRROR
     5  
     6  # install tools via apk
     7  ENV APK_MIRROR=${APK_MIRROR}
     8  RUN if [ -n "${APK_MIRROR}" ]; then sed -i "s/dl-cdn.alpinelinux.org/${APK_MIRROR}/g" /etc/apk/repositories; fi
     9  
    10  RUN apk add --no-cache jq --allow-untrusted
    11  
    12  RUN apk add --no-cache postgresql-client --allow-untrusted
    13  
    14  RUN apk add --no-cache mysql-client mariadb-connector-c --allow-untrusted
    15  
    16  RUN apk add redis
    17  RUN rm -rf /var/cache/apk/*
    18  
    19  USER 65532:65532