Add composer to PHP definition (#515)

This commit is contained in:
Chuck Lantz 2020-08-23 13:12:52 -07:00 коммит произвёл GitHub
Родитель 8e9a932bcf
Коммит d2a23ba9f8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 300 добавлений и 18 удалений

Просмотреть файл

@ -17,7 +17,8 @@ required to debug changes to any libraries licensed under the GNU Lesser General
---------------------------------------------------------
alpine - https://hub.docker.com/_/alpine
alpine
https://hub.docker.com/_/alpine
License
@ -41,7 +42,9 @@ contained within.
---------------------------------------------------------
buildpack-deps - https://hub.docker.com/_/buildpack-deps
buildpack-deps
https://hub.docker.com/_/buildpack-deps
License
View license information<https://www.debian.org/social_contract#guidelines> for the
@ -64,7 +67,8 @@ contained within.
---------------------------------------------------------
golang - https://hub.docker.com/_/golang
golang
https://hub.docker.com/_/golang
License
@ -88,7 +92,8 @@ contained within.
---------------------------------------------------------
node - https://hub.docker.com/_/node
node
https://hub.docker.com/_/node
License
@ -114,7 +119,9 @@ contained within.
---------------------------------------------------------
openjdk - https://hub.docker.com/_/openjdk
openjdk
https://hub.docker.com/_/openjdk
License
View license information<http://openjdk.java.net/legal/gplv2+ce.html> for the
@ -137,7 +144,8 @@ contained within.
---------------------------------------------------------
php - https://hub.docker.com/_/php
php
https://hub.docker.com/_/php
License
@ -161,7 +169,8 @@ contained within.
---------------------------------------------------------
python - https://hub.docker.com/_/python
python
https://hub.docker.com/_/python
License
@ -185,7 +194,8 @@ contained within.
---------------------------------------------------------
ruby - https://hub.docker.com/_/ruby
ruby
https://hub.docker.com/_/ruby
License
@ -209,7 +219,8 @@ contained within.
---------------------------------------------------------
rust - https://hub.docker.com/_/rust
rust
https://hub.docker.com/_/rust
License
@ -234,7 +245,7 @@ contained within.
---------------------------------------------------------
robbyrussell/oh-my-zsh - MIT
https://ohmyz.sh/
Copyright (c) 2009
Copyright 2018 Jon Mosco
@ -1023,6 +1034,7 @@ Public License instead of this License. But first, please read
---------------------------------------------------------
nvm-sh/nvm - MIT
http://nvm.sh/
Copyright (c) 2010 Tim Caswell
Copyright (c) 2014 Jordan Harband
@ -1057,6 +1069,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
---------------------------------------------------------
Xdebug - The PHP License
https://github.com/xdebug/xdebug
--------------------------------------------------------------------
@ -1126,6 +1139,7 @@ For more information Xdebug, please see <https://xdebug.org>.
---------------------------------------------------------
bandit - Apache-2.0
https://github.com/PyCQA/bandit
Copyright 2015 IBM Corp.
@ -1333,6 +1347,7 @@ Copyright (c) 2016 Hewlett-Packard Development Company, L.P.
---------------------------------------------------------
pylint - GPL-2.0-only AND GPL-3.0-or-later
https://pylint.org/
Copyright (c) 2013
@ -2024,6 +2039,7 @@ Public License instead of this License.
---------------------------------------------------------
flake8 - MIT
https://flake8.pycqa.org/
copyright u'2016, Ian Stapleton Cordasco
@ -2059,6 +2075,7 @@ SOFTWARE.
---------------------------------------------------------
autopep8 - MIT
https://github.com/hhatto/autopep8
Copyright (c) 2010-2011 Hideo Hattori
@ -2095,6 +2112,7 @@ SOFTWARE.
---------------------------------------------------------
black - MIT
https://github.com/psf/black
Copyright 2006 Google, Inc.
@ -2390,6 +2408,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
---------------------------------------------------------
yapf - Apache-2.0
https://github.com/google/yapf
Copyright 2015 Google Inc.
@ -2606,6 +2625,7 @@ Copyright 2018 Google Inc.
---------------------------------------------------------
mypy - MIT
http://mypy-lang.org/
(c) E Too
@ -2898,6 +2918,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
pydocstyle - MIT
https://github.com/PyCQA/pydocstyle/
Copyright (c) 2012 GreenSteam, <http://greensteam.dk/>
@ -2929,7 +2950,8 @@ SOFTWARE.
---------------------------------------------------------
---------------------------------------------------------
pycodestyle 2.6.0 - MIT
pycodestyle - MIT
https://github.com/PyCQA/pycodestyle/
Copyright (c) 2014-2016 Ian Lee <ianlee1521@gmail.com>
@ -2969,6 +2991,7 @@ SOFTWARE.
---------------------------------------------------------
virtualenv - MIT
https://virtualenv.pypa.io/
copyright f'2007- date.today().year, company
@ -3000,6 +3023,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
---------------------------------------------------------
pipx - BSD-3-Clause AND MIT
https://github.com/pipxproject/pipx
Copyright (c) 2018 Chad Smith
@ -3066,6 +3090,7 @@ DAMAGE.
---------------------------------------------------------
rls - MIT and Apache 2.0
https://github.com/rust-lang/rls
Short version for non-lawyers:
@ -3115,6 +3140,7 @@ according to those terms.
---------------------------------------------------------
rustfmt - Apache 2.0
https://github.com/rust-lang/rustfmt
Apache License
@ -3325,6 +3351,7 @@ limitations under the License.
---------------------------------------------------------
clippy - Apache 2.0
https://github.com/rust-lang/rust-clippy
Copyright 2014-2020 The Rust Project Developers
@ -3340,6 +3367,7 @@ copied, modified, or distributed except according to those terms.
---------------------------------------------------------
rust-analyzer - Apache 2.0
https://github.com/rust-analyzer/rust-analyzer
Apache License
@ -3550,7 +3578,7 @@ limitations under the License.
---------------------------------------------------------
gopls (golang.org/x/tools/gopls) - BSD-3-Clause
https://pkg.go.dev/golang.org/x/tools/gopls
Copyright (c) 2009 The Go Authors. All rights reserved.
@ -3586,6 +3614,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
go-tools (honnef.co/go/tools) - MIT
https://github.com/dominikh/go-tools
Copyright (c) 2016 Dominik Honnef
@ -3615,6 +3644,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
---------------------------------------------------------
gorename (golang.org/x/tools/cmd/gorename) - BSD-3-Clause
https://pkg.go.dev/golang.org/x/tools/cmd/gorename
Copyright (c) 2009 The Go Authors. All rights reserved.
@ -3651,6 +3681,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
guru (golang.org/x/tools/cmd/guru) - BSD-3-Clause
https://pkg.go.dev/golang.org/x/tools/cmd/guru
Copyright (c) 2009 The Go Authors. All rights reserved.
@ -3687,6 +3718,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
goimports (golang.org/x/tools/cmd/goimports) - BSD-3-Clause
https://pkg.go.dev/golang.org/x/tools/cmd/goimports
Copyright (c) 2009 The Go Authors. All rights reserved.
@ -3723,6 +3755,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
golint (golang.org/x/lint/golint) - BSD-3-Clause
https://pkg.go.dev/golang.org/x/lint/golint
Copyright (c) 2009 The Go Authors. All rights reserved.
@ -3759,6 +3792,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
gocode (github.com/mdempsky/gocode) - MIT
https://github.com/mdempsky/gocode
Copyright (C) 2010 nsf <no.smile.face@gmail.com>
@ -3787,6 +3821,7 @@ THE SOFTWARE.
---------------------------------------------------------
gotests (github.com/cweill/gotests/...) - Apache 2.0
https://github.com/cweill/gotests
Apache License
@ -3997,6 +4032,7 @@ gotests (github.com/cweill/gotests/...) - Apache 2.0
---------------------------------------------------------
goplay (github.com/haya14busa/goplay/cmd/goplay) - MIT
https://github.com/haya14busa/goplay
MIT License
@ -4027,6 +4063,7 @@ SOFTWARE.
---------------------------------------------------------
goreturns (github.com/sqs/goreturns) - BSD-3-Clause
https://github.com/sqs/goreturns
Copyright (c) 2014 Sourcegraph Inc. All rights reserved.
@ -4095,6 +4132,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
impl (github.com/josharian/impl) - MIT
https://github.com/josharian/impl
The MIT License (MIT)
@ -4125,6 +4163,7 @@ THE SOFTWARE.
---------------------------------------------------------
fillstruct (github.com/davidrjenni/reftools/cmd/fillstruct) - BSD-2-Clause
https://github.com/davidrjenni/reftools
Copyright (c) 2017 David R. Jenni. All rights reserved.
@ -4158,6 +4197,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
gopkgs (github.com/uudashr/gopkgs/v2/cmd/gopkgs) - MIT
https://github.com/uudashr/gopkgs
MIT License
@ -4188,6 +4228,7 @@ SOFTWARE.
---------------------------------------------------------
golangci-lint (github.com/golangci/golangci-lint) - GPL3
https://github.com/golangci/golangci-lint
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
@ -4900,6 +4941,7 @@ SOFTWARE.
---------------------------------------------------------
go-symbols (github.com/acroca/go-symbols) - MIT
https://github.com/acroca/go-symbols
Copyright (c) 2015 Matthew Newhook
@ -4928,6 +4970,7 @@ THE SOFTWARE.
---------------------------------------------------------
godoctor (github.com/godoctor/godoctor) - BSD-3-Clause
https://github.com/godoctor/godoctor
Copyright Auburn University and others. All rights reserved.
@ -4963,6 +5006,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
godef (github.com/rogpeppe/godef) - BSD-3-Clause
https://github.com/rogpeppe/godef
Copyright © 2014, Roger Peppe
@ -4998,6 +5042,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
gogetdoc (github.com/zmb3/gogetdoc) - BSD-3-Clause
https://github.com/zmb3/gogetdoc
Copyright (c) 2016, Zac Bergquist
@ -5034,6 +5079,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
gomodifytags (github.com/fatih/gomodifytags) - BSD-3-Clause
https://github.com/fatih/gomodifytags
Copyright (c) 2017, Fatih Arslan
@ -5070,7 +5116,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
revive (github.com/mgechev/revive) - MIT
https://github.com/mgechev/revive
MIT License
@ -5100,6 +5146,7 @@ SOFTWARE.
---------------------------------------------------------
dlv (github.com/go-delve/delve/cmd/dlv) - MIT
https://github.com/go-delve/delve
The MIT License (MIT)
@ -5129,6 +5176,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
---------------------------------------------------------
gocode-gomod (github.com/stamblerre/gocode) - MIT
https://github.com/stamblerre/gocode
Copyright (C) 2010 nsf <no.smile.face@gmail.com>
@ -5157,6 +5205,7 @@ THE SOFTWARE.
---------------------------------------------------------
yarn - BSD-2-Clause
https://yarnpkg.com/
BSD 2-Clause License
@ -5191,6 +5240,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------
eslint - MIT
https://eslint.org/
Copyright JS Foundation and other contributors, https://js.foundation
@ -5219,7 +5269,7 @@ THE SOFTWARE.
---------------------------------------------------------
tslit - Apache 2.0
https://palantir.github.io/tslint/
Apache License
Version 2.0, January 2004
@ -5429,6 +5479,7 @@ tslit - Apache 2.0
---------------------------------------------------------
typescript - Apache 2.0
https://www.typescriptlang.org/
Apache License
@ -5599,7 +5650,7 @@ END OF TERMS AND CONDITIONS
---------------------------------------------------------
jasongin/nvs - MIT
https://github.com/jasongin/nvs
NVS (Node Version Switcher)
@ -5632,6 +5683,7 @@ SOFTWARE.
---------------------------------------------------------
github.com/cli/cli - MIT
https://github.com/cli/cli
MIT License
@ -5662,6 +5714,7 @@ SOFTWARE.
---------------------------------------------------------
git-lfs - MIT
https://git-lfs.github.com/
MIT License
@ -5692,6 +5745,7 @@ which are under different licenses. See those LICENSE files for details.
---------------------------------------------------------
kubectl - Apache 2.0
https://kubernetes.io/docs/reference/kubectl/overview/
Apache License
@ -5902,6 +5956,7 @@ kubectl - Apache 2.0
---------------------------------------------------------
helm - Apache 2.0
https://helm.sh/
Apache License
@ -6107,4 +6162,218 @@ helm - Apache 2.0
limitations under the License.
---------------------------------------------------------
---------------------------------------------------------
SDKMAN! - Apache 2.0
https://github.com/sdkman/sdkman-cli
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
---------------------------------------------------------
---------------------------------------------------------
composer - MIT
https://getcomposer.org/
Copyright (c) Nils Adermann, Jordi Boggiano
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
---------------------------------------------------------

Просмотреть файл

@ -11,9 +11,8 @@ ARG USER_GID=$USER_UID
# Install needed packages and setup non-root user. Use a separate RUN statement to add your own dependencies.
COPY library-scripts/common-debian.sh /tmp/library-scripts/
RUN apt-get update \
&& /bin/bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" \
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/library-scripts
RUN apt-get update && bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/library-scripts
# Install xdebug
RUN yes | pecl install xdebug \
@ -21,6 +20,11 @@ RUN yes | pecl install xdebug \
&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
&& echo "xdebug.remote_autostart=on" >> /usr/local/etc/php/conf.d/xdebug.ini
# Install composer
RUN curl -sSL https://getcomposer.org/installer | php \
&& chmod +x composer.phar \
&& mv composer.phar /usr/local/bin/composer
# [Optional] Install Node.js for use with web applications - update the INSTALL_NODE arg in devcontainer.json to enable.
ARG INSTALL_NODE="true"
ARG NODE_VERSION="none"

Просмотреть файл

@ -66,6 +66,15 @@
"DownloadUrl": "https://pecl.php.net/get/xdebug-2.9.6.tgz"
}
}
}, {
"Component": {
"Type": "other",
"Other": {
"Name": "Composer",
"Version": "1.10.10",
"DownloadUrl": "https://getcomposer.org/installer"
}
}
}
]
}