Update python image in dockerfile

This commit is contained in:
Keannu Bernasol 2023-12-28 11:32:21 +08:00
parent 20debf7d45
commit fffe3c7145
2 changed files with 9 additions and 12 deletions

View file

@ -1,12 +1,13 @@
# Use the official Python 3.11 image
# FROM --platform=arm64 python:3.11.4-bookworm
FROM --platform=arm64 python:3.11.7-bullseye
# ARG BUILDPLATFORM
FROM python:3.11.4-bookworm
# FROM python:3.11.7-bullseye
ENV PYTHONBUFFERED 1
RUN apt-get update
# Install necessary dependencies, including cmake
RUN apt-get update && apt-get install -y \
RUN apt-get install -y \
wget \
tar \
cmake \

View file

@ -1230,7 +1230,7 @@ components:
nullable: true
timestamp:
type: string
format: date
format: date-time
readOnly: true
Semester:
type: object
@ -1360,7 +1360,7 @@ components:
format: double
timestamp:
type: string
format: date
format: date-time
readOnly: true
required:
- id
@ -1387,7 +1387,7 @@ components:
nullable: true
timestamp:
type: string
format: date
format: date-time
readOnly: true
required:
- id
@ -1416,7 +1416,7 @@ components:
nullable: true
timestamp:
type: string
format: date
format: date-time
readOnly: true
required:
- id
@ -1444,23 +1444,19 @@ components:
landmark:
type: string
nullable: true
radius:
type: number
format: double
distance:
type: string
readOnly: true
default: 0
timestamp:
type: string
format: date
format: date-time
readOnly: true
required:
- distance
- id
- location
- name
- radius
- students
- subject
- timestamp