Skip to content

Instantly share code, notes, and snippets.

View stefanchrobot's full-sized avatar

Stefan Chrobot stefanchrobot

View GitHub Profile
@stefanchrobot
stefanchrobot / Dockerfile
Created June 6, 2022 17:27
Multistage build for a Phoenix app using Elixir releases
# Available versions: https://hub.docker.com/r/hexpm/elixir/tags
FROM hexpm/elixir:1.13.2-erlang-23.3.4.9-alpine-3.15.0 AS builder
# Install build tools.
RUN apk add --no-cache build-base git=2.34.2-r0
# Prepare build directory.
WORKDIR /app
# Copy the sources.
@stefanchrobot
stefanchrobot / use_bash4.sh
Created April 4, 2018 08:24
Bash 4 as the default shell on OSX
brew install bash
# Add the new shell to the list of allowed shells
sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells'
# Change to the new shell
chsh -s /usr/local/bin/bash