Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building docker compose in VM Ubuntu #577

Open
niloufar07 opened this issue Feb 6, 2024 · 1 comment
Open

building docker compose in VM Ubuntu #577

niloufar07 opened this issue Feb 6, 2024 · 1 comment

Comments

@niloufar07
Copy link

this the content of my docker file FROM nginx:1-alpine

RUN apk add --no-cache openssl inotify-tools

WORKDIR /etc/nginx/

ADD nginx.conf.envsubst nginx.https.available.conf.envsubst ./
ADD geonode.conf.envsubst ./sites-enabled/

ADD docker-autoreload.sh docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
RUN chmod +x /docker-autoreload.sh
RUN chmod +x /docker-entrypoint.sh

CMD ["nginx", "-g", "daemon off;"] when i run the command build docker compose i face this error: ERROR [2/8] RUN apk add --no-cache openssl inotify-tools 196.0s

[2/8] RUN apk add --no-cache openssl inotify-tools:
187.6 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
192.6 WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.18/main: temporary error (try again later)
192.6 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
195.7 ERROR: unable to select packages:
195.7 inotify-tools (no such package):
195.7 required by: world[inotify-tools]
195.7 openssl (no such package):
195.7 required by: world[openssl]


Dockerfile:3

1 | FROM nginx:1-alpine
2 |
3 | >>> RUN apk add --no-cache openssl inotify-tools
4 |
5 | WORKDIR /etc/nginx/

ERROR: failed to solve: process "/bin/sh -c apk add --no-cache openssl inotify-tools" did not complete successfully: exit code: 2
ERROR: Service 'geonode' failed to build : Build failed I am not professional and it is a project of PhD which i have to done so i need a little bit info on the steps to solve the problem.

@vani-gupta
Copy link

Hi @niloufar07, I'm seeing the same error. Were you able to resolve the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants