docker-ttrss icon indicating copy to clipboard operation
docker-ttrss copied to clipboard

Docker builds failing

Open rubenv opened this issue 9 years ago • 7 comments

Looks like the Docker Hub builds have stopped working:

Build failed: The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y nginx supervisor php5-fpm php5-cli php5-curl php5-gd php5-json php5-pgsql php5-mysql php5-mcrypt && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

I'm guessing this is due to the use of FROM ubuntu (without a version specified), with a recent Ubuntu upgrade dropping PHP5.

rubenv avatar Jul 27 '16 12:07 rubenv

Thanks for reporting this!

Do you feel like filing PR to fix this? :+1:

clue avatar Jul 27 '16 12:07 clue

@clue was already prepping one, #28 should fix things.

rubenv avatar Jul 27 '16 12:07 rubenv

Right, a quick Google tells me that TTRSS might not even work on PHP 7 yet.

Easier solution will then probably be pinning the Dockerfile to some older Ubuntu release (that ships PHP5).

rubenv avatar Jul 27 '16 13:07 rubenv

I haven't confirmed this, but it looks like TTRSS ought to run PHP 7?

Either way, both solutions will be fine for now. Care to file a new PR and close this one if you downgrade Ubuntu to a specific release?

clue avatar Jul 27 '16 16:07 clue

@clue I've pinned it to Ubuntu Wily for now. That should fix things right now.

I'd recommend converting this image to Alpine at some point though, it'll make it much smaller.

rubenv avatar Jul 28 '16 08:07 rubenv

I'd recommend converting this image to Alpine at some point though, it'll make it much smaller.

I'm not opposed to switching to a smaller base image, PRs are much appreciated :+1:

clue avatar Jul 28 '16 10:07 clue

Submitted two more pull requests:

  • #30 Switches to Alpine, image size: 100.2 MB
  • #31 Switches to Alpine + s6, image size: 59.97 MB

By comparison, the Ubuntu based image is 278.3 MB

rubenv avatar Jul 28 '16 12:07 rubenv