Skip to content
This repository has been archived by the owner on Mar 13, 2021. It is now read-only.

Commit

Permalink
Fixed Web-Server Build Error "libcurl3 has no installation candidate"
Browse files Browse the repository at this point in the history
  • Loading branch information
solodyagin authored Dec 24, 2019
1 parent 8dc423e commit f626cfa
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions bin/webserver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
FROM php:7.2-apache
# Quickfix - Basebox for PHP7.2 Library now uses Debian "10" Buster, superceeding #libcurl3, stretch is most compatible at this time whilst devs workout backport.
# https://github.com/docker-library/php/issues/865

RUN apt-get -y update --fix-missing
RUN apt-get upgrade -y
FROM php:7.2-apache-stretch

# Surpresses debconf complaints of trying to install apt packages interactively
# https://github.com/moby/moby/issues/4032#issuecomment-192327844

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get -y update --fix-missing --no-install-recommends
RUN apt-get -y upgrade

# Install useful tools
RUN apt-get -y install apt-utils nano wget dialog
RUN apt-get -yq install apt-utils nano wget dialog

# Install important libraries
RUN apt-get -y install --fix-missing apt-utils build-essential git curl libcurl3 libcurl3-dev zip openssl
Expand Down

0 comments on commit f626cfa

Please sign in to comment.