attempt to build busybox to see if this package will become public w/ burnettk

This commit is contained in:
jasquat 2022-05-06 10:09:39 -04:00
parent d1d21e38d5
commit ee6e00f6ed
2 changed files with 20 additions and 17 deletions

View File

@ -2,12 +2,12 @@ name: Create and publish a Docker image
on:
push:
branches: ['main']
branches: ['main', 'feature/*']
env:
REGISTRY: ghcr.io
IMAGE_NAME: sartography/python
# IMAGE_NAME: ${{ github.repository }}
# IMAGE_NAME: sartography/python
IMAGE_NAME: sartography/busybox
jobs:
build-and-push-image:

View File

@ -1,15 +1,18 @@
FROM python:3.9-slim
FROM busybox
WORKDIR /app
COPY Pipfile Pipfile.lock /app/
RUN set -xe \
&& pip install pipenv \
&& apt-get update -q \
&& apt-get install -y -q \
gcc python3-dev libssl-dev \
curl postgresql-client git-core \
gunicorn3 postgresql-client \
&& pipenv install --dev
WORKDIR /app
RUN touch /var/tmp/just_making_a_change
# FROM python:3.9-slim
#
# WORKDIR /app
# COPY Pipfile Pipfile.lock /app/
#
# RUN set -xe \
# && pip install pipenv \
# && apt-get update -q \
# && apt-get install -y -q \
# gcc python3-dev libssl-dev \
# curl postgresql-client git-core \
# gunicorn3 postgresql-client \
# && pipenv install --dev
#
# WORKDIR /app