alpine

/bin/sh: app: not found

我是研究僧i 提交于 2021-01-29 11:00:43
问题 / # which chasquid-util /usr/local/bin/chasquid-util / # chasquid-util /bin/sh: chasquid-util: not found / # /usr/local/bin/chasquid-util /bin/sh: /usr/local/bin/chasquid-util: not found / # ls -al /usr/local/bin/ total 27432 drwxr-xr-x 1 root root 4096 Jul 26 16:18 . drwxr-xr-x 1 root root 4096 Jul 26 16:18 .. -rwxr-xr-x 1 root root 11721005 Jul 26 16:18 chasquid -rwxr-xr-x 1 root root 5510494 Jul 26 16:18 chasquid-util -rwxr-xr-x 1 root root 2910713 Jul 26 16:18 mda-lmtp -rwxr-xr-x 1 root

tesseract-ocr not recognized by alpine docker container

我的梦境 提交于 2021-01-29 05:18:54
问题 I am trying to install tesseract-ocr to use within a docker container, but when I feed a request to my api, I still get an error saying "FileNotFoundError: [Errno 2] No such file or directory: 'tesseract': 'tesseract'" I'm trying to maybe add tesseract to my ENV $Path variable in the Dockerfile, but I'm unable to locate where this tesseract package is even installed. Below I've added my Dockerfile, any help would be appreciated. Thanks! FROM python:3.6-alpine RUN apk add --update --no-cache

Running “apk add” command in a docker container with arguments [closed]

我怕爱的太早我们不能终老 提交于 2021-01-28 16:43:37
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 months ago . Improve this question I am trying to run $ apk add pkg in an alpine linux based container that isn't starting up. Can anyone tell what is wrong with the following commands. $ docker run --rm --entrypoint myimage:mytag 'apk add wget curl vim lynx' docker: invalid reference format. See

How to solve “Could not find any Python installation to use” with docker node alpine Image when adding bcrypt to package.json?

我们两清 提交于 2021-01-26 04:01:56
问题 Before I added bcrypt to my package.json, everything was working fine. Now, I get the error message below. This is an excerpt of my package.json: "dependencies": { "bcrypt": "3.0.6", "express": "^4.17.1", "mongodb": "^3.3.1", "nodemailer": "^6.3.0", "pm2": "^3.5.1", "redis": "^2.8.0", "xlsx": "^0.15.0" }, This is my dockerfile. I am using the offical node alpine image. I wonder if alpine has phyton already installed. FROM node:13.5.0-alpine WORKDIR /usr/app COPY ./src . RUN npm install I get

How to solve “Could not find any Python installation to use” with docker node alpine Image when adding bcrypt to package.json?

跟風遠走 提交于 2021-01-26 04:00:26
问题 Before I added bcrypt to my package.json, everything was working fine. Now, I get the error message below. This is an excerpt of my package.json: "dependencies": { "bcrypt": "3.0.6", "express": "^4.17.1", "mongodb": "^3.3.1", "nodemailer": "^6.3.0", "pm2": "^3.5.1", "redis": "^2.8.0", "xlsx": "^0.15.0" }, This is my dockerfile. I am using the offical node alpine image. I wonder if alpine has phyton already installed. FROM node:13.5.0-alpine WORKDIR /usr/app COPY ./src . RUN npm install I get

cannot find runtime/cgo in Alpine

安稳与你 提交于 2021-01-22 08:34:43
问题 In an alpine:edge container I installed go via RUN apk add --no-cache musl-dev go I try to run go get github.com/golang/protobuf/protoc-gen-go then. This results in the error message: go: finding github.com/golang/protobuf/protoc-gen-go latest go: finding github.com/golang/protobuf v1.3.1 go: downloading github.com/golang/protobuf v1.3.1 go: extracting github.com/golang/protobuf v1.3.1 # github.com/golang/protobuf/protoc-gen-go loadinternal: cannot find runtime/cgo protoc-gen-go: program not

How do I add a user when I'm using Alpine as a base image?

半世苍凉 提交于 2021-01-20 14:07:25
问题 I'm using alpine (or an image that is based on Alpine) as the base image in my Dockerfile. Which instructions do I need to add to create a user? Eventually I'll use this user to run the application I'll place into the container so that the root user does not. 回答1: Alpine uses the command adduser and addgroup for creating users and groups (rather than useradd and usergroup ). FROM alpine:latest # Create a group and user RUN addgroup -S appgroup && adduser -S appuser -G appgroup # Tell docker

How do I add a user when I'm using Alpine as a base image?

落爺英雄遲暮 提交于 2021-01-20 14:05:15
问题 I'm using alpine (or an image that is based on Alpine) as the base image in my Dockerfile. Which instructions do I need to add to create a user? Eventually I'll use this user to run the application I'll place into the container so that the root user does not. 回答1: Alpine uses the command adduser and addgroup for creating users and groups (rather than useradd and usergroup ). FROM alpine:latest # Create a group and user RUN addgroup -S appgroup && adduser -S appuser -G appgroup # Tell docker

How to install pyarrow on an Alpine Docker image?

梦想的初衷 提交于 2021-01-04 04:31:45
问题 I am trying to install pyarrow using pip in my alpine docker image, but pip is unable to find the package. I'm using the following Dockerfile: FROM python:3.6-alpine3.7 RUN apk add --no-cache musl-dev linux-headers g++ RUN pip install pyarrow output: Sending build context to Docker daemon 4.096kB Step 1/3 : FROM python:3.6-alpine3.7 3.6-alpine3.7: Pulling from library/python ff3a5c916c92: Pull complete 471170bb1257: Pull complete d487cc70216e: Pull complete 9358b3ca3321: Pull complete

How to install pyarrow on an Alpine Docker image?

别等时光非礼了梦想. 提交于 2021-01-04 04:28:20
问题 I am trying to install pyarrow using pip in my alpine docker image, but pip is unable to find the package. I'm using the following Dockerfile: FROM python:3.6-alpine3.7 RUN apk add --no-cache musl-dev linux-headers g++ RUN pip install pyarrow output: Sending build context to Docker daemon 4.096kB Step 1/3 : FROM python:3.6-alpine3.7 3.6-alpine3.7: Pulling from library/python ff3a5c916c92: Pull complete 471170bb1257: Pull complete d487cc70216e: Pull complete 9358b3ca3321: Pull complete