Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107121 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 30842 invoked from network); 15 Sep 2019 23:16:39 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 15 Sep 2019 23:16:39 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id BBC4A2C1C10 for ; Sun, 15 Sep 2019 13:53:23 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: X-Spam-Virus: No Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Sun, 15 Sep 2019 13:53:22 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id r195so7939549wme.2 for ; Sun, 15 Sep 2019 13:53:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vmYD8sXTP5mKnRujyoZCxQhASSB51Vmdd4t4tM+rWQM=; b=ep2xi/Xd+85xXL6owEETsH+qZ4TMbfH7vNxuvq+M++BRhfa04owQj8Kj4Zxactij/+ kVs2oFLtMV2wtPf4Wg8djimOSj6ekaO9RYOQOI05JdMylYA+anzX1yB5QPh3YZpVrgIi PshHk6Rg7+vo9dEYbfM4s13mXwn3BRw8+sxLgRwgh8x3wqcfxdzT0YGZBLEhveKdHS3f cyd0WEG2zh8I7Ylu4pqRiqK7ht90IhM4dd3jwiiQtRXmUjAH4FE0c1zOhKDSlS6jEeDx zK/TWjRBjU5nHcLCcO1uZXYZYBSX+R0aTj2gOpX4aCAdP/nHtjcQs0oqutvQMoxo81Jk lm2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vmYD8sXTP5mKnRujyoZCxQhASSB51Vmdd4t4tM+rWQM=; b=ijkTkPQyRXV72eUUBJ7X316QR6pA76O4K4yLSlltSISK35I54lLGGmxrMDuhmhbhYD pyDXh/RdL8eFW3iX3sFn6fnglRSmQfYgABldEph416rk5LW+sslGy1jiMkfcPGaa23nk itGkLjBuLcDCRJTs6o+CdMf9ySSwOnJ9QzN+odJNO+Edq+WtzePz4Je9W8MEaE+SGM2E DfamsYEeH4YGyZs+Uk8L17rfiDlcg9kpSpYUM1rqCzcS7ncIxQcugbDkxIh7NOkZh7rn 64ha9B7Jrz9cG+NhoR8Xly4+fKnqNNk9o8Zd2NcgHyYYU/0fFEZzwl9xORVumnCOFCsk ilWw== X-Gm-Message-State: APjAAAWPNv4OCB8zcMO57Y5RUuItSQ0I55aX+/E5uOM8wFzugAgZtj9h vRLRKAjdbnzdL6yCkb6LHUzq1MkJpmwghCS8Wbg= X-Google-Smtp-Source: APXvYqxUuxBBi+kNcfY36Y3AIX2OomLlALqPFnIq0D3OqUAJGzPuM7HFBirT6ANCszYvRjsS8+0g8tt90f7sOVT8p0A= X-Received: by 2002:a1c:ca10:: with SMTP id a16mr11331721wmg.1.1568580801804; Sun, 15 Sep 2019 13:53:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 15 Sep 2019 22:53:09 +0200 Message-ID: To: Dik Takken Cc: Nikita Popov , PHP Internals Content-Type: multipart/alternative; boundary="0000000000007e3d5c05929dad95" X-Envelope-From: Subject: Re: [PHP-DEV] Build instructions for Ubuntu 18.04 (and other systems) From: carusogabriel34@gmail.com (Gabriel Caruso) --0000000000007e3d5c05929dad95 Content-Type: text/plain; charset="UTF-8" Hello Dik On Sun, Sep 15, 2019, 22:42 Dik Takken wrote: > On 15-09-19 20:49, Nikita Popov wrote: > > > > Anyone interested in doing this? > > > > Hi Nikita, > > May I suggest to provide instructions to build using Docker? This has a > number of advantages: > > * Same instructions will work on Linux, MacOS and Windows > * No need to install build dependencies on your host > * Spin up a MySQL container by running 'docker run mysql:version' > > I took this route a while ago when I needed to setup a dev environment > and it works nicely. I could do a write-up of this route if desired. > > Part of the instructions could be cast into a Docker image that can be > published on Github and Docker Hub. This image could even have the > command to run the tests baked into the image itself. Then, anyone can > just run > > docker run php-tests:7.4 > > to build the sources and run the tests. For development you can mount > your local git clone in the container. > > Regards, > Dik Takken > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php The main problem with Docker and php-src is that we need to touch the OS in order to make sure the new features and bugfixes will be compatible. Docker create a layer on top of that, right? Best regards, > > --0000000000007e3d5c05929dad95--