Fix build issues

This commit is contained in:
Mary 2022-04-12 18:30:08 +02:00 committed by TSR Berry
parent 0015a812f9
commit c8a9603bb0
No known key found for this signature in database
GPG key ID: 52353C0A4CCA15E2
3 changed files with 4 additions and 3 deletions

View file

@ -1 +1,2 @@
config.py config.py
__pycache__

View file

@ -2,9 +2,9 @@ FROM python:3.10-alpine
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY requirements.txt ./ COPY poetry.lock pyproject.toml ./
RUN apk add --no-cache git gcc musl-dev python3-dev libffi-dev openssl-dev cargo && pip install -U pip && pip install --no-cache-dir -r requirements.txt && apk del gcc musl-dev python3-dev libffi-dev openssl-dev cargo
RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo && pip install --no-cache-dir poetry && poetry config virtualenvs.create false && poetry install --no-root --no-interaction --no-ansi -vvv && apk del gcc musl-dev python3-dev libffi-dev openssl-dev cargo
COPY . . COPY . .
WORKDIR /usr/src/app/robocop_ng WORKDIR /usr/src/app/robocop_ng

View file

@ -673,7 +673,7 @@ switch_known_errcodes = {
0x7D202: "Error: Specified partition is not found. ", 0x7D202: "Error: Specified partition is not found. ",
0x7D402: "Error: Specified target is not found. ", 0x7D402: "Error: Specified target is not found. ",
0xFA002: "Error: Failed to access SD card. ", 0xFA002: "Error: Failed to access SD card. ",
0x136802: "Error: Failed to access game card. " 0x136802: "Error: Failed to access game card. ",
0x177202: "Error: Specified operation is not implemented. ", 0x177202: "Error: Specified operation is not implemented. ",
0x177A02: "Error: Specified value is out of range. ", 0x177A02: "Error: Specified value is out of range. ",
0x190002: "Error: Failed to allocate memory. ", 0x190002: "Error: Failed to allocate memory. ",