specify Dockerfile-dev

This commit is contained in:
Hemna 2022-11-25 10:08:46 -05:00
parent d1a0a988f2
commit 4111d16aaf
2 changed files with 5 additions and 5 deletions

View File

@ -51,9 +51,9 @@ jobs:
- name: Build the Docker image
uses: docker/build-push-action@v3
with:
context: ./docker
context: "{{defaultContext}}:docker"
platforms: linux/amd64,linux/arm64,linux/arm/v7
file: Dockerfile-dev
file: ./Dockerfile-dev
build-args: |
BRANCH=${{ steps.branch-name.outputs.current_branch }}
push: true

View File

@ -2,14 +2,14 @@
FROM ubuntu:focal as aprsd
# Dockerfile for building a container during aprsd development.
ARG branch
ARG BRANCH=master
ARG UID
ARG GID
ENV APRS_USER=aprs
ENV HOME=/home/aprs
ENV APRSD=http://github.com/craigerl/aprsd.git
ENV APRSD_BRANCH=${branch:-master}
ENV APRSD_BRANCH=${BRANCH:-master}
ENV VIRTUAL_ENV=$HOME/.venv3
ENV UID=${UID:-1000}
ENV GID=${GID:-1000}
@ -40,7 +40,7 @@ RUN cat $HOME/.bashrc
USER root
WORKDIR $HOME
RUN mkdir $INSTALL
RUN git clone -b $APRSD_BRANCH $APRSD $INSTALL/aprsd
RUN git clone -b $BRANCH $APRSD $INSTALL/aprsd
RUN cd $INSTALL/aprsd && pip3 install -v .
RUN ls -al /usr/local/bin
RUN ls -al /usr/bin