Skip to content

Commit

Permalink
Bugfix106 ubuntu22.04 (#107)
Browse files Browse the repository at this point in the history
* Updated Ubuntu to 22.04

* Updated to Ubuntu 22.04
  • Loading branch information
ChristianMarzahl authored Dec 19, 2023
1 parent 2be71f3 commit 2bd2916
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions exact/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pull official base image
FROM ubuntu:18.04 as builder
FROM ubuntu:22.04 as builder

# set work directory
WORKDIR /usr/src/exact
Expand All @@ -14,7 +14,7 @@ ENV PYTHONUNBUFFERED 1

# install dependencies
RUN pip3 install --upgrade pip
RUN pip3 install numpy==1.19.4
RUN pip3 install numpy==1.26.0
COPY ./requirements.txt /usr/src/exact/requirements.txt

RUN pip3 install -r requirements.txt
Expand Down
4 changes: 2 additions & 2 deletions exact/Dockerfile.iSyntax
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pull official base image
FROM ubuntu:18.04 as builder
FROM ubuntu:22.04 as builder

# set work directory
WORKDIR /usr/src/exact
Expand All @@ -14,7 +14,7 @@ ENV PYTHONUNBUFFERED 1

# install dependencies
RUN pip3 install --upgrade pip
RUN pip3 install numpy==1.19.4
RUN pip3 install numpy==1.26.0
COPY ./requirements.txt /usr/src/exact/requirements.txt

RUN pip3 install -r requirements.txt
Expand Down
6 changes: 3 additions & 3 deletions exact/Dockerfile.iSyntax.prod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


# pull official base image
FROM ubuntu:18.04 as builder
FROM ubuntu:22.04 as builder

# set work directory
WORKDIR /usr/src/app
Expand Down Expand Up @@ -46,7 +46,7 @@ RUN chmod +x /usr/src/app/entrypoint.prod.sh
#########


FROM ubuntu:18.04
FROM ubuntu:22.04

# create directory for the app user
RUN mkdir -p /home/app
Expand Down Expand Up @@ -74,7 +74,7 @@ RUN apt-get update && apt-get install -y python3-pip python3-opencv python3-ope
COPY --from=builder /usr/src/app/wheels /wheels
COPY --from=builder /usr/src/app/requirements.txt .
RUN pip3 install --upgrade pip
RUN pip3 install numpy==1.19.4
RUN pip3 install numpy==1.26.0
RUN pip3 install --no-cache /wheels/*


Expand Down
6 changes: 3 additions & 3 deletions exact/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


# pull official base image
FROM ubuntu:18.04 as builder
FROM ubuntu:22.04 as builder

# set work directory
WORKDIR /usr/src/app
Expand Down Expand Up @@ -46,7 +46,7 @@ RUN chmod +x /usr/src/app/entrypoint.prod.sh
#########


FROM ubuntu:18.04
FROM ubuntu:22.04

# create directory for the app user
RUN mkdir -p /home/app
Expand All @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y python3-pip python3-openslide libvips l
COPY --from=builder /usr/src/app/wheels /wheels
COPY --from=builder /usr/src/app/requirements.txt .
RUN pip3 install --upgrade pip
RUN pip3 install numpy==1.19.4
RUN pip3 install numpy==1.26.0
RUN pip3 install --no-cache /wheels/*


Expand Down
6 changes: 3 additions & 3 deletions exact/Dockerfile.prod.aws-db
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


# pull official base image
FROM ubuntu:18.04 as builder
FROM ubuntu:22.04 as builder

# set work directory
WORKDIR /usr/src/app
Expand Down Expand Up @@ -46,7 +46,7 @@ RUN chmod +x /usr/src/app/entrypoint.prod.sh
#########


FROM ubuntu:18.04
FROM ubuntu:22.04

# create directory for the app user
RUN mkdir -p /home/app
Expand All @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y python3-pip python3-openslide python3-o
COPY --from=builder /usr/src/app/wheels /wheels
COPY --from=builder /usr/src/app/requirements.txt .
RUN pip3 install --upgrade pip
RUN pip3 install numpy==1.19.4
RUN pip3 install numpy==1.26.0
RUN pip3 install --no-cache /wheels/*


Expand Down
1 change: 1 addition & 0 deletions exact/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

confusable-homoglyphs==3.2.0
drf-flex-fields==1.0.2
Django==3.2.11
django-appconf==1.0.5
django-extensions==3.2.3
django-filter==23.2
Expand Down

0 comments on commit 2bd2916

Please sign in to comment.