Skip to content

Instantly share code, notes, and snippets.


Gritzko Daniel Kleiner gritzkoo

View GitHub Profile
gritzkoo / Dockerfile-php8.0
Created Mar 31, 2021
A example of php 8 docker file
View Dockerfile-php8.0
FROM php:8-fpm-alpine3.13 as base
RUN apk update && apk add g++ make git wget ca-certificates openssl openssh bzip2-dev zlib-dev libpng-dev tzdata fcgi cyrus-sasl-dev
# php8-dev
RUN update-ca-certificates
# install php composer
RUN php -r "copy('', 'composer-setup.php');" \
&& php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
&& php composer-setup.php --install-dir=/usr/bin --filename=composer \
&& php -r "unlink('composer-setup.php');"
gritzkoo / gist:394f5ab44d9be560b51fe6d7bb494ffb
Last active Oct 15, 2020 — forked from Frozenfire92/gist:3627e38dc47ca581d6d024c14c1cf4a9
Install Scala and SBT using apt-get on Ubuntu 16.04 or any Debian derivative using apt-get
View gist:394f5ab44d9be560b51fe6d7bb494ffb
## Java
sudo apt-get update
sudo apt-get install default-jdk
## Scala
sudo apt-get remove scala-library scala
sudo wget
sudo dpkg -i scala-2.12.12.deb
sudo apt-get update
sudo apt-get install scala