Skip to content

Instantly share code, notes, and snippets.

View kgiann78's full-sized avatar

Konstantinos Giannousis kgiann78

View GitHub Profile
@kgiann78
kgiann78 / gist:8b537d2f657b79831fc85545a4bcf4c6
Created July 29, 2020 06:19
Add ssh passphrase in session
# Adds the ssh passphrase once in the session
# works in ubuntu/debian
eval `ssh-agent -s`
ssh-add ~/path/to/.ssh/private/key
@kgiann78
kgiann78 / Docker-ruby2.5-python3.6-alpine
Last active October 21, 2019 09:57
Dockerfile with ruby and python for alpine
FROM alpine:3.9
# VERSIONS
ENV ALPINE_VERSION=3.9 \
PYTHON_VERSION=3.6.9
RUN apk add --no-cache \
gmp-dev
# skip installing gem documentation
@kgiann78
kgiann78 / Dockerfile-scala-sbt-alpine
Last active October 3, 2019 10:16
Dockerfile with scala and sbt for alpine
FROM openjdk:8-jdk-alpine
ENV SCALA_VERSION=2.12.4 \
SCALA_HOME=/usr/share/scala
ENV SBT_VERSION 1.2.8
ENV SBT_HOME /usr/local/sbt
ENV PATH ${PATH}:${SBT_HOME}/bin
# NOTE: bash is used by scala/scalac scripts, and it cannot be easily replaced with ash.
RUN apk add --no-cache --virtual=.build-dependencies wget ca-certificates && \

Keybase proof

I hereby claim:

  • I am kgiann78 on github.
  • I am kgiannousis (https://keybase.io/kgiannousis) on keybase.
  • I have a public key ASBr9ZKYugJOnZtE40NCLzUv5JWclRx2cpKVL0DsY2iCEAo

To claim this, I am signing this object: