Skip to content

Commit 2442612

Browse files
Fix HBase Docker build issues and update dist Dockerfile
- Update HBase base image from openjdk:8-jre-buster to openjdk:8-jre-bullseye to fix apt-get update failures (buster repositories are no longer accessible) - Update default HBase version from 2.5.0 to 2.6.0 to match the version used in HBaseContainer.java - Update dist builder image from debian:buster-slim to debian:bullseye-slim to prevent similar apt-get issues This resolves the Docker build error: 'The command '/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y socat' returned a non-zero code: 100'
1 parent 6a39dc7 commit 2442612

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

janusgraph-dist/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
ARG BASE_IMAGE=eclipse-temurin:11-jre
1616

17-
FROM debian:buster-slim as builder
17+
FROM debian:bullseye-slim as builder
1818

1919
ARG TARGETARCH
2020
ARG JANUS_VERSION=1.0.0-SNAPSHOT

janusgraph-hbase/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
FROM debian:bookworm-20240211 as builder
1616

17-
ARG HBASE_VERSION=2.5.0
17+
ARG HBASE_VERSION=2.6.0
1818
ARG HBASE_DIST="https://archive.apache.org/dist/hbase"
1919

2020
RUN apt-get update && \
@@ -27,7 +27,7 @@ RUN rm -rf ./docs ./LEGAL ./*.txt ./*/*.cmd
2727
COPY ./hbase-site.xml /opt/hbase/conf/hbase-site.xml
2828
COPY ./hbase-policy.xml /opt/hbase/conf/hbase-policy.xml
2929

30-
FROM openjdk:8-jre-buster
30+
FROM openjdk:8-jre-bullseye
3131

3232
ARG HBASE_UID=1000
3333
ARG HBASE_GID=1000

0 commit comments

Comments
 (0)