Skip to content

Instantly share code, notes, and snippets.


Alejandro Rosero Vicuña alejovicu

View GitHub Profile
alejovicu /
Created Feb 14, 2019
Create a Postgres container restoring the database from a .bak file [docker, postgres, .bak]
#! /usr/bin/sh
# BACKUP_PATH is where the file db.bak is placed
docker rm -f db
docker run -d --name db \
-p 5432:5432 \
alejovicu / python3.7.2-selenium-alpine3.8-dockerfile
Last active Feb 12, 2019
Docker Selenium Webdriver with Python3 in alpine 3.8
View python3.7.2-selenium-alpine3.8-dockerfile
# Objective: Running selenium python scripts in alpine without grid
FROM python:3.7.2-alpine3.8
RUN pip install selenium
RUN apk add chromium
RUN apk add chromium-chromedriver
ENV CHROME_BIN=/usr/bin/chromium-browser \