Provide Official ASK CLI Docker Image
I was surprised to find that there is no official Docker image for development with the ASK CLI. The "amazon" user on Docker Hub contains only a couple images for working specifically with ECS and Elastic Beanstalk, and there does not appear to be any official "alexa" user. Upon further investigation, I found the aws-codebuild-docker-images repo in the "aws" GitHub organization, but unfortunately it does not have any sample Dockerfiles that install the ASK CLI either. There are similar issues open at the AWS CLI repo, because there is no official Amazon Docker image for the AWS CLI either, so I imagine that whatever aws-cli image gets created could serve as the base for an ask-cli image.
TL; DR
I believe there should be an official ask-cli Docker image maintained by Amazon and pushed to Docker Hub/Store. Ideally, it should support all the major modern Linux distros, including Alpine Linux. One should be able to run the following command, and have everything just work:
docker run -it alexa/ask-cli

-
maandeep commented
I also think that there is a need of developing docker image for ask-cli. I have created an Amazon Alexa skill and it's available on gitlab. Now, I want that whenever there occurs a commit in the master branch, the skill gets deployed with the latest version automatically. For that, I have added ask-cli support to it. I have successfully installed and used ask-cli for my skill's deployment on my computer. But when I am trying to do the same on gitlab platform, there is a bunch of errors arising. When I am trying the
"$ npm install -g ask-cli"
there arises an infinite loop of following errors:"gyp WARN EACCES attempting to reinstall using temporary dev dir /usr/local/lib/node_modules/ask-cli/node_modules/dtrace-provider/.node-gyp"
and
"gyp WARN EACCES user "nobody" does not have permission to access the dev dir /usr/local/lib/node_modules/ask-cli/node_modules/dtrace-provider/.node-gyp/8.10.0"
And if I try to install ask-cli by running following command,
"$ npm install ask-cli"
it adds the packages but on running ask commands, it again shows error:
"ask command not found"I have also tried adding ask-cli as an image in my .gitlab-ci.yml file, but this also shows an error:
"ERROR: Job failed: Error response from daemon: pull access denied for ask-cli, repository does not exist or may require 'docker login'"I think this error is arising because docker image for ask-cli is not yet developed. If it was so, then this should have been running fine.
-
maandeep commented
There is a need of this. I am not able to use ask-cli commands on gitlab ci. I want to deploy my alexa skill using gitlab ci but I can't run any of the ask commands.
-
Dan Greene commented
I second the need for this.