From fffe3c714526a75ba075d4faa330f36e2af2d852 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Thu, 28 Dec 2023 11:32:21 +0800 Subject: [PATCH] Update python image in dockerfile --- Dockerfile | 7 ++++--- stude/schema.yml | 14 +++++--------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5244676..088b7f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ diff --git a/stude/schema.yml b/stude/schema.yml index 327fc79..fb62295 100644 --- a/stude/schema.yml +++ b/stude/schema.yml @@ -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