Getting this error while building result-app in example-voting-app
The command ‘/bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/*’ returned a non-zero code: 100
Getting this error while building result-app in example-voting-app
The command ‘/bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/*’ returned a non-zero code: 100
What context is this running in? I assume you’re using the docker-samples version of the repo, and that this is drawn from result/Dockerfile:
FROM node:18-slim
# add curl for healthcheck
RUN apt-get update && \
apt-get install -y --no-install-recommends curl tini && \
rm -rf /var/lib/apt/lists/*
although this is slightly different than what’s in your question.
I just did
docker-compose build
docker-compose up -d
and the build worked fine on a Macbook Pro using an Intel processor, and the app came up on http://localhost:5000 and http://localhost:5001. So I’m not seeing your error.
How are you building the app?