Skip to content

Instantly share code, notes, and snippets.

View alejovicu's full-sized avatar

Alejandro Rosero Vicuña alejovicu

View GitHub Profile
@alejovicu
alejovicu / dockertags
Created January 12, 2024 12:54
Get tags for an image in docker hub
#!/usr/bin/env bash
if [ $# -lt 1 ]
then
cat << HELP
dockertags -- list all tags for a Docker image on a remote registry.
Example:
- If there is no repo use "library":
dockertags library/ubuntu
@alejovicu
alejovicu / python3.7.2-selenium-alpine3.8-dockerfile
Last active August 23, 2023 04:16
Docker Selenium Webdriver with Python3 in alpine 3.8
# 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 \