2017-06-02 35 views
0

ここでは、Docker noobが全部表示されています。Dockerビルド:xz(stdin):ファイル形式が認識されない

Step 19/40 : RUN curl -OL https://www.haskell.org/ghc/dist/${ghc%[a-z]}/ghc-${ghc}-x86_64-deb7-linux.tar.xz | tar -xJf- && cd ghc-${ghc} && ./configure && make install 
    ---> Running in 0141996d759f 
     % Total % Received % Xferd Average Speed Time Time  Time Current 
            Dload Upload Total Spent Left Speed 
    100 161 100 161 0  0 335  0 --:--:-- --:--:-- --:--:-- 336 
    100 85.5M 100 85.5M 0  0 308k  0 0:04:44 0:04:44 --:--:-- 358k 
    xz: (stdin): File format not recognized 
    tar: Child returned status 1 
    tar: Error is not recoverable: exiting now 
    The command '/bin/sh -c curl -OL https://www.haskell.org/ghc/dist/${ghc%[a-z]}/ghc-${ghc}-x86_64-deb7-linux.tar.xz | tar -xJf- && cd ghc-${ghc} && ./configure && make install' returned a non-zero code: 2 

答えて

1

問題は、ディスクの代わりに、標準出力に書き込みますカール-Oオプションです。

お試しください:curl -L https://...

+0

違うエラーが発生しました。 – seansinflipflops

+0

出力は何ですか? –

+0

'/ bin/sh:行0:cd:ghc-7.10.3b:そのようなファイルやディレクトリはありません。 ' – seansinflipflops

関連する問題