[
https://issues.apache.org/jira/browse/METRON-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antonio Perez updated METRON-1028:
----------------------------------
Description:
Running metron-docker _docker-compose up_ when it is building hbase or kafkazk
images, it fails with the following error when tries to extract a .tar.gz:
{noformat}
tar: /archive.tar.gz: Cannot read: Is a directory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
{noformat}
Docker automatically extracts archives when ADDING them during image creation,
and there is no need to add the line:
{noformat}
RUN tar -xzf /opt/kafka_2.11-0.10.0.0.tgz -C /opt
{noformat}
Otherwise it would fail.
was:
Running metron-docker _docker-compose up_ when it is building hbase or kafkazk
images, it fails with the following error when tries to extract a .tar.gz:
{noformat}
tar: /archive.tar.gz: Cannot read: Is a directory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
{noformat}
Docker automatically extracts archives when ADDING them during image creation,
and there is no need to add the line, otherwise it would fail:
{noformat}
RUN tar -xzf /opt/kafka_2.11-0.10.0.0.tgz -C /opt
{noformat}
> Metron-Docker Dockerfile tar.gz error
> -------------------------------------
>
> Key: METRON-1028
> URL: https://issues.apache.org/jira/browse/METRON-1028
> Project: Metron
> Issue Type: Bug
> Affects Versions: 0.3.1, 0.4.0
> Environment: Ubuntu 16.04 64 bits.
> Docker version: 17.06.0-ce
> Docker-compose version: 1.14.0
> Reporter: Antonio Perez
> Priority: Minor
>
> Running metron-docker _docker-compose up_ when it is building hbase or
> kafkazk images, it fails with the following error when tries to extract a
> .tar.gz:
> {noformat}
> tar: /archive.tar.gz: Cannot read: Is a directory
> tar: At beginning of tape, quitting now
> tar: Error is not recoverable: exiting now
> {noformat}
> Docker automatically extracts archives when ADDING them during image
> creation, and there is no need to add the line:
> {noformat}
> RUN tar -xzf /opt/kafka_2.11-0.10.0.0.tgz -C /opt
> {noformat}
> Otherwise it would fail.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)