stefanwalther/speedy

docker-compose up -d failing..

Opened this issue · 1 comments

pnunn commented

Successfully tagged speedy_influxdb:latest
WARNING: Image for service influxdb was built because it did not already exist. To rebuild this image you must use docker-compose build or docker-compose up --build.
Building grafana
Step 1/9 : FROM grafana/grafana:latest
latest: Pulling from grafana/grafana
9621f1afde84: Pull complete
5754dc33531e: Pull complete
75f4a274130b: Pull complete
ba47017ee971: Pull complete
17f844606bf9: Pull complete
321130b17972: Pull complete
f1b823eb9de1: Pull complete
c0b24abe3b30: Pull complete
8200e0f87cb3: Pull complete
Digest: sha256:8c65b333a3d369a095d752da2e784b484d4246659e9a4ac6a09b74353f95d1c9
Status: Downloaded newer image for grafana/grafana:latest
---> 179ad45e2c74
Step 2/9 : MAINTAINER Stefan Walther swrnixda@gmail.com
---> Running in 7df6b2b8fd47
Removing intermediate container 7df6b2b8fd47
---> 42540d632780
Step 3/9 : RUN apt-get update && apt-get install -y curl gettext-base && rm -rf /var/lib/apt/lists/*
---> Running in a4fecd5f94f9
/bin/sh: apt-get: not found
ERROR: Service 'grafana' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y curl gettext-base && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 127

Seems the grafana image no longer has apt in it? I tried with the version in the git docker compose file, but that failed in the same way so thought I'd try latest to see if that worked. It didn't.

Since grafana is based on Alpine and Alpine is a busybox based distribution, it seems we have to use the right package manager (apk, I suppose). Not sure I can fix this today, but will definitely look into it when my standard errands are finished.