Skip to content

Commit

Permalink
chore(Dockerfile): migrate to alpine 3.9
Browse files Browse the repository at this point in the history
- for whatever reason we now need gcompat instead of libc6-compat
  • Loading branch information
menski committed Mar 6, 2019
1 parent d921389 commit fea2f73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
@@ -1,4 +1,4 @@
FROM openjdk:8-jre-alpine
FROM openjdk:8-jre-alpine3.9

ARG DISTBALL

Expand All @@ -12,8 +12,8 @@ ENV JAVA_OPTS -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap

COPY ${DISTBALL} ${ZB_HOME}/

# libc6-compat is required to run rocksdb on alpine
RUN apk add --no-cache bash libc6-compat tini && \
# gcompat is required to run rocksdb on alpine
RUN apk add --no-cache bash gcompat tini && \
tar xfvz ${ZB_HOME}/*.tar.gz --strip 1 -C ${ZB_HOME}/ && rm ${ZB_HOME}/*.tar.gz

WORKDIR ${ZB_HOME}
Expand Down

0 comments on commit fea2f73

Please sign in to comment.