[ 
https://issues.apache.org/jira/browse/FLINK-17324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089631#comment-17089631
 ] 

Patrick Lucas commented on FLINK-17324:
---------------------------------------

That image is just a convenience wrapper for 
[bashbrew|https://github.com/docker-library/official-images/tree/master/bashbrew].
 Here's the whole Dockerfile, assuming the binary {{bashbrew-amd64}} is in the 
directory:

{code}
FROM alpine
RUN apk --no-cache add bash git
COPY bashbrew-amd64 /usr/local/bin/bashbrew
{code}

There are definitely plenty of other options for how to make this available to 
the {{generate-stackbrew-library.sh}} script, I'm really not opinionated on how 
it gets done.  

The tool is used to enumerate the architectures supported by the base image 
referenced in the FROM line of the Flink images, and there might also be 
another way to accomplish the same thing.

> Move the image we use to generate the docker official-images changes into 
> flink-docker
> --------------------------------------------------------------------------------------
>
>                 Key: FLINK-17324
>                 URL: https://issues.apache.org/jira/browse/FLINK-17324
>             Project: Flink
>          Issue Type: Improvement
>          Components: Release System / Docker
>            Reporter: Ismaël Mejía
>            Assignee: Ismaël Mejía
>            Priority: Minor
>
> Before the docker official image was repatriated into Apache Flink we used a 
> docker image that contained the scripts to generate the release here: 
> https://github.com/apache/flink-docker/blob/e0107b0f85d9b3630db39568729e36408cdc7b78/generate-stackbrew-library-docker.sh#L5.
> {quote}docker run --rm
>     --volume ~/projects/docker-flink:/build
>     plucas/docker-flink-build
>     /{{build/generate-stackbrew-library.sh > ~/projects/official-images  
> /library/flink}}
> {quote}
> Notice that this docker image tool 'plucas/docker-flink-build' is not part of 
> upstream Flink so we need to move it there into some sort of tools section in 
> the flink-docker repo or document an alternative to it.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to