You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2020/06/11 20:16:00 UTC

[jira] [Resolved] (ARTEMIS-2773) Dockerfile no longer builds

     [ https://issues.apache.org/jira/browse/ARTEMIS-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram resolved ARTEMIS-2773.
-------------------------------------
    Resolution: Fixed

> Dockerfile no longer builds
> ---------------------------
>
>                 Key: ARTEMIS-2773
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2773
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>         Environment: Windows 10, running shell scripts, docker build commands in WSL.
>            Reporter: Zeke Rogers
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The current Dockerfile based on openjdk:8 does not build due to an unavailable version of libaio1 specified. It explicitly references version 0.3.110-3 of libaio1 however, it appears that 0.3.112-3 is the current stable version and when attempting to build the Dockerfile the following error occurs:
> {code:java}
> Step 9/20 : RUN groupadd -g 1000 -r artemis && useradd -r -u 1000 -g artemis artemis && apt-get -qq -o=Dpkg::Use-Pty=0 update && apt-get -qq -o=Dpkg::Use-Pty=0 install -y --no-install-recommends libaio1=0.3.110-3 && rm -rf /var/lib/apt/lists/*
>  ---> Running in f56ff568c477
> E: Version '0.3.110-3' for 'libaio1' was not found{code}
>  
> In addition, I received this error attempting to run prepare-docker.sh:
> {code:java}
> cp: cannot stat './{Dockerfile-centos,Dockerfile-ubuntu,docker-run.sh}': No such file or directory{code}
>  
> Finally, the Dockerfile states it is Ubuntu, when in fact openjdk:8 is now Debian, so the names of the scripts and the readme should reflect this.
>  



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