[
https://issues.apache.org/jira/browse/FLINK-10991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16701887#comment-16701887
]
ASF GitHub Bot commented on FLINK-10991:
----------------------------------------
dawidwys closed pull request #7162: FLINK-10991 [docker] Added libc6-compat
package to all alpine-based Flink imag…
URL: https://github.com/apache/flink/pull/7162
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/flink-container/docker/Dockerfile
b/flink-container/docker/Dockerfile
index 458c2145278..57454799dd8 100644
--- a/flink-container/docker/Dockerfile
+++ b/flink-container/docker/Dockerfile
@@ -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
diff --git a/flink-contrib/docker-flink/Dockerfile
b/flink-contrib/docker-flink/Dockerfile
index 46db36cfe81..d24a68c9235 100644
--- a/flink-contrib/docker-flink/Dockerfile
+++ b/flink-contrib/docker-flink/Dockerfile
@@ -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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Dockerfile in flink-container does not work with RocksDBStatebackend
> --------------------------------------------------------------------
>
> Key: FLINK-10991
> URL: https://issues.apache.org/jira/browse/FLINK-10991
> Project: Flink
> Issue Type: Bug
> Components: Docker
> Reporter: Konstantin Knauf
> Assignee: Konstantin Knauf
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.8.0
>
>
> The problem is described (and fixed for flink-docker) by [~plucas] in
> [https://github.com/docker-flink/docker-flink/issues/14.]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)