こんにちは、私はAWS ElasticBeanstalk php 7.0環境でgoofysを使いたいです。
私は.ebextentions/00_install_goofy.configを作成します。コマンドを使用してPATHをエクスポートできない理由.ebextensions config
(YUMによるgolangのバージョンが古いため、バイナリからgolangをインストールします。
packages:
yum:
fuse: []
commands:
100_install_golang_01:
command: wget https\://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz
100_install_golang_02:
command: tar -C /usr/local -xzf go1.9.linux-amd64.tar.gz
100_install_golang_03:
command: export GOROOT=/usr/local/go
test: [ -z "$GOROOT" ]
100_install_golang_04:
command: export GOPATH=/home/ec2-user/go
test: [ -z "$GOPATH" ]
100_install_golang_05:
command: export PATH=$PATH\:$GOROOT/bin\:$GOPATH/bin
100_install_golang_06:
command: echo $GOPATH > gopath
しかし100_install_golang_03うまくいかない...
Test for Command 100_install_golang_03
[2017-09-09T14:39:52.422Z] INFO [3034] - [Application deployment [email protected]/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_1_yubion_website] : Completed activity.
[2017-09-09T14:39:52.422Z] INFO [3034] - [Application deployment [email protected]/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Activity execution failed, because: [Errno 2] No such file or directory (ElasticBeanstalk::ExternalInvocationError)
私は輸出envおよびパスをカント。私はPATHを設定することができますon .ebextensions?
または、ElasticBeanstalkに自動的にgoofysをインストールする方法がありますか?
? – eqperes
ありがとうございます。私はアプリケーションの前にS3バケットをインストールしてマウントしたい。 – hani