目前,我正试图让Apache通过Snapcraft运行,我做错了什么呢?
下面是.yaml:
name: spark
version: 1.0
architectures:
- amd64
summary: The Spark Engine
description: This is the Spark Engine produced by snapcraft with maven.
confinement: strict
apps:
spark:
command: bin/wrapper
daemon: simple
plugs: [network-bind]
parts:
webapp:
plugin: maven
source: https://github.com/lool/snappy-mvn-demo.git
source-type: git
spark:
plugin: tar-content
source: http://www-eu.apache.org/dist/spark/spark-1.6.2/spark-1.6.2.tgz
local-files:
plugin: make
source: .以下是make文件:
all:
install:
cp -a spark-conf/ $(DESTDIR)/make文件不包含包装器,因为我找不到包装。
有什么想法吗?
发布于 2022-09-27 01:40:37
local-files:看起来需要缩进1,以适应yaml格式。此外,您可能需要通过添加after键来指定本地文件部分在其他部分之后运行。
local-files:
plugin: make
source: .
after: [webapp,spark]https://stackoverflow.com/questions/38526154
复制相似问题