Skip to content

Commit

Permalink
[FLINK-10991][docker] Updated Dockerfiles to fulfill requirements of …
Browse files Browse the repository at this point in the history
…RocksDB

* added libc6-compat package to all alpine-based Flink images for RocksDB statebackend
* switched from deprecated "library/java" to "library/openjdk" docker base image
  • Loading branch information
knaufk authored and dawidwys committed Nov 28, 2018
1 parent 2d511b0 commit c862118
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions flink-container/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
# limitations under the License.
################################################################################

FROM java:8-jre-alpine
FROM openjdk:8-jre-alpine

# Install requirements
RUN apk add --no-cache bash snappy
RUN apk add --no-cache bash snappy libc6-compat

# Flink environment variables
ENV FLINK_INSTALL_PATH=/opt
Expand Down
4 changes: 2 additions & 2 deletions flink-contrib/docker-flink/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
# limitations under the License.
################################################################################

FROM java:8-jre-alpine
FROM openjdk:8-jre-alpine

# Install requirements
RUN apk add --no-cache bash snappy
RUN apk add --no-cache bash snappy libc6-compat

# Flink environment variables
ENV FLINK_INSTALL_PATH=/opt
Expand Down

0 comments on commit c862118

Please sign in to comment.