I am using an alpine linux
container and specifically python:3.4-alpine
and openjdk:8-jdk-alpine
. When I try to execute any script or executable that I have placed in the executable I get Not Found
error.
For example. When in the python:3.4-alpine
container I want to install jfrog
I follow the command here (after I install curl
via apk). This command downloads a shell script and pipes it to sh which downloads and creates a jfrog
executable with the correct permissions. When I am trying to run this executable I am getting
bin/sh: ./jfrog: not found
update
I discovered that the root user is using bin/ash
by default, which I have no idea what it is. So I invoked bin/sh jfrog
manually and I get
/ # bin/sh jfrog jfrog: line 1: ELF: not found jfrog: line 1: syntax error: unterminated quoted string
Any idea what I am doing wrong? I suspect that it has to do with only root user existing in the container.