attempt to build busybox to see if this package will become public w/ burnettk
This commit is contained in:
parent
d1d21e38d5
commit
ee6e00f6ed
|
@ -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:
|
||||
|
|
31
Dockerfile
31
Dockerfile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue