gliderlabs / gliderlabs/docker-alpine

building docker compose in VM Ubuntu

Open
#577 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
5.7k
Forks
530
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.