Updated the docker and ansible files for setting up and building / running rasberry pi with the frank service
Still need to manually copy the new id_rsa created on the pi to knox.
This commit is contained in:
@ -1,15 +1,15 @@
|
||||
FROM python:latest
|
||||
RUN mkdir /app
|
||||
WORKDIR /app
|
||||
ADD https://git.tanshu.com/tanshu/barker/raw/branch/main/frank/pyproject.toml /app/pyproject.toml
|
||||
|
||||
# Install Poetry
|
||||
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | POETRY_HOME=/opt/poetry python && \
|
||||
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && \
|
||||
cd /usr/local/bin && \
|
||||
ln -s /opt/poetry/bin/poetry && \
|
||||
poetry config virtualenvs.create false && \
|
||||
cd /app && \
|
||||
poetry install --no-root --no-dev
|
||||
mkdir /app
|
||||
|
||||
WORKDIR /app
|
||||
ADD https://git.tanshu.com/tanshu/barker/raw/branch/main/frank/pyproject.toml /app/pyproject.toml
|
||||
RUN poetry install --no-root --no-dev
|
||||
|
||||
ADD https://git.tanshu.com/api/v1/repos/tanshu/barker/tags /tags.json
|
||||
RUN git clone --single-branch --depth 1 https://git.tanshu.com/tanshu/barker.git /repo
|
||||
|
||||
Reference in New Issue
Block a user