Skip to content

Instantly share code, notes, and snippets.

View pedreviljoen's full-sized avatar
:octocat:
Working from home

Pedre Viljoen pedreviljoen

:octocat:
Working from home
View GitHub Profile
@pedreviljoen
pedreviljoen / Dockerfile
Created May 20, 2021 13:34
Sentian embedded Docker image stretch
FROM python:2.7.18-stretch
# Set the working directory
WORKDIR /usr/src/sib
# Copy any configuration directories across
# Copy the python requirements file
COPY ./requirements.txt /usr/src/sib/requirements.txt
@pedreviljoen
pedreviljoen / Dockerfile
Last active May 18, 2021 10:28
Sentian Dockerfile example
FROM python:2.7-buster-alpine
# Set the working directory
WORKDIR /usr/src/app
# Install python and create a virtualenv
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

Keybase proof

I hereby claim:

  • I am pedreviljoen on github.
  • I am pedreviljoen (https://keybase.io/pedreviljoen) on keybase.
  • I have a public key ASAup5vF1CX3x69cxFkyv-0E73g9oNo81h8uplTuRSF24wo

To claim this, I am signing this object: