fix
This commit is contained in:
@@ -4,19 +4,19 @@ FROM ${BUILD_FROM}
|
||||
# Set working directory
|
||||
WORKDIR /root
|
||||
|
||||
# Install dependencies
|
||||
# Install glibc compatibility on Alpine
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
curl \
|
||||
openjdk17-jre \
|
||||
su-exec
|
||||
su-exec \
|
||||
libc6-compat
|
||||
|
||||
# Create opensearch user
|
||||
RUN addgroup -g 1000 opensearch && \
|
||||
adduser -u 1000 -G opensearch -h /usr/share/opensearch -D opensearch
|
||||
|
||||
# Download and install OpenSearch 3.2.0 for aarch64
|
||||
RUN curl -L https://artifacts.opensearch.org/releases/bundle/opensearch/3.2.0/opensearch-3.2.0-linux-x64.tar.gz -o opensearch.tar.gz && \
|
||||
RUN curl -L https://artifacts.opensearch.org/releases/bundle/opensearch/3.2.0/opensearch-3.2.0-linux-arm64.tar.gz -o opensearch.tar.gz && \
|
||||
tar -xzf opensearch.tar.gz && \
|
||||
mv opensearch-3.2.0/* /usr/share/opensearch && \
|
||||
rm opensearch.tar.gz
|
||||
|
Reference in New Issue
Block a user