You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by ex00 <gi...@git.apache.org> on 2017/02/03 13:37:55 UTC

[GitHub] flink issue #3205: [FLINK-5635] Improve Docker tooling to make it easier to ...

Github user ex00 commented on the issue:

    https://github.com/apache/flink/pull/3205
  
    @jgrier thanks for your reply!
    I tried to build flink image from your PR and i got next error:
    
    >tar: invalid magic
    tar: short read 
    The command '/bin/sh -c set -x &&   mkdir -p $FLINK_INSTALL_PATH &&   apk --update add --virtual build-dependencies curl &&
      curl -s $(curl -s https://www.apache.org/dyn/closer.cgi\?preferred\=true)flink/flink-${FLINK_VERSION}/flink-${FLINK_VERSIO
    N}-bin-hadoop${HADOOP_VERSION}-scala_${SCALA_VERSION}.tgz |   tar xvz -C $FLINK_INSTALL_PATH &&   ln -s $FLINK_INSTALL_PATH/
    flink-$FLINK_VERSION $FLINK_HOME &&   addgroup -S flink && adduser -D -S -H -G flink -h $FLINK_HOME flink &&   chown -R flin
    k:flink $FLINK_INSTALL_PATH/flink-$FLINK_VERSION &&   chown -h flink:flink $FLINK_HOME &&   sed -i -e "s/echo \$mypid >> \$p
    id/echo \$mypid >> \$pid \&\& wait/g" $FLINK_HOME/bin/flink-daemon.sh &&   apk del build-dependencies &&   rm -rf /var/cache
    /apk/*' returned a non-zero code: 1
    
    full error [here](https://gist.github.com/ex00/5246c1df60e51c3a3581eaa6bc683176)
    My env:
    ```
    $ docker version
    Client:
     Version:      1.11.1
     API version:  1.23
     Go version:   go1.5.4
     Git commit:   5604cbe
     Built:        Tue Apr 26 23:44:17 2016
     OS/Arch:      windows/amd64
    
    Server:
     Version:      1.11.2
     API version:  1.23
     Go version:   go1.5.4
     Git commit:   b9f10c9
     Built:        Wed Jun  1 21:20:08 2016
     OS/Arch:      linux/amd64
    ```
    Did you have look like error?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---