use explicit versions

master
lub 2 years ago
parent 9f0dfa19af
commit b960096eb0

1
.gitignore vendored

@ -1,3 +1,2 @@
config.php config.php
vendor vendor
composer.lock

@ -1,18 +1,18 @@
FROM docker.io/composer AS composer FROM docker.io/composer:latest AS composer
WORKDIR /app WORKDIR /app
COPY composer.json ./ COPY composer.json composer.lock ./
RUN composer install RUN composer install
FROM docker.io/php:alpine FROM docker.io/php:7.4-alpine
COPY --from=composer /app /app COPY --from=composer /app /app
COPY main.php functions.php /app/ COPY main.php functions.php /app/
WORKDIR /app WORKDIR /app
ENTRYPOINT ["php", "main.php"] ENTRYPOINT ["php", "main.php"]

72
composer.lock generated

@ -0,0 +1,72 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "2a31c469c141d9a2c27bb3cbe875b90b",
"packages": [
{
"name": "planetteamspeak/ts3-php-framework",
"version": "1.1.33",
"source": {
"type": "git",
"url": "https://github.com/planetteamspeak/ts3phpframework.git",
"reference": "fb08150b1785bfd0c135f9a337d23be42344b46c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/planetteamspeak/ts3phpframework/zipball/fb08150b1785bfd0c135f9a337d23be42344b46c",
"reference": "fb08150b1785bfd0c135f9a337d23be42344b46c",
"shasum": ""
},
"require": {
"php": ">=5.2.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.0.0",
"phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0",
"react/socket": "^0.8.5",
"satooshi/php-coveralls": "^1.1 || ^2.0",
"symfony/yaml": "~2.1|~3.0|~4.0"
},
"type": "library",
"autoload": {
"files": [
"libraries/TeamSpeak3/TeamSpeak3.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-3.0"
],
"authors": [
{
"name": "Sven 'ScP' Paulsen",
"email": "scp@planetteamspeak.com"
}
],
"description": "Modern use-at-will framework that provides individual components to manage TeamSpeak 3 Server instances",
"homepage": "https://www.planetteamspeak.com",
"keywords": [
"api",
"filetransfer",
"interface",
"management",
"query",
"server",
"teamspeak",
"ts3"
],
"time": "2018-08-03T11:46:37+00:00"
}
],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform-dev": []
}
Loading…
Cancel
Save