docker Ubuntu 12.04 LTS 上的 openbravo

docker Ubuntu 12.04 LTS 上的 openbravo

我使用存储库 lukasz/docker-scala 在 Ubuntu 12.04 LTS 上的 Scala 2.10.3、Java 7 update 45 和 sbt 0.13.1 上安装 openbravo。

这是我运行docker文件的方式:

############################################################ 
# Dockerfile to build openbaravo container images 
# Based on ubuntu:12.04 
############################################################ 
# Set the base image to Ubuntu 
FROM lukasz/docker-scala 
# File Author / Maintainer 
MAINTAINER SecuPi 
################## BEGIN INSTALLATION ###################### 
# Install 
RUN \ 
apt-get update && \ 
apt-get install -y python-software-properties && \ 
add-apt-repository ppa:openbravo-isv/ppa && \ 
apt-get update && \ 
apt-get upgrade -y && \ 
apt-get install -y openbravo-3 
##################### INSTALLATION END ##################### 
EXPOSE 80

我尝试在 docker 镜像上安装 openBravo。但出现了错误:

dpkg: error processing /var/cache/apt/archives/openbravo-3_3.0.r26702.PR-15Q2.1-1precise1_all.deb (--unpack): 
subprocess new pre-installation script returned error exit status 1 
No apport report written because MaxReports is reached already 
Errors were encountered while processing: 
/var/cache/apt/archives/openbravo-3_3.0.r26702.PR-15Q2.1-1precise1_all.deb 
E: Sub-process /usr/bin/dpkg returned an error code (1)

我该如何修复?
此致

答案1

你可以拉取镜像:

docker pull rotemsecupi/ubuntu1204-openbravo-new

并启动一个容器:

docker run -d -p 80:80 rotemsecupi/ubuntu1204-openbravo-new

相关内容