Skip to content

Commit

Permalink
Update .gitpod.Dockerfile
Browse files Browse the repository at this point in the history
fix Dockerfile format
  • Loading branch information
lauris-tw authored Jun 19, 2024
1 parent 665cfe2 commit f5e2005
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ FROM gitpod/workspace-python
USER root
WORKDIR /opt
RUN if [ "$(arch)" = "aarch64" ] ; then ARCHITECTURE="aarch64" ; else ARCHITECTURE="x64"; fi && \
wget -O OpenJDK.tar.gz https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jdk_${ARCHITECTURE}_linux_hotspot_11.0.11_9.tar.gz && \
RUN tar xzf OpenJDK.tar.gz && \
wget -O OpenJDK.tar.gz https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jdk_${ARCHITECTURE}_linux_hotspot_11.0.11_9.tar.gz
RUN tar xzf OpenJDK.tar.gz
ENV JAVA_HOME="/opt/jdk-11.0.11+9" \
PATH="/opt/jdk-11.0.11+9/bin:$PATH"

Expand All @@ -15,4 +15,4 @@ WORKDIR /app

COPY ./pyproject.toml /app/pyproject.toml

RUN pyenv install 3.11.4 && pyenv global 3.11.4 && poetry env use "${HOME}/.pyenv/versions/3.11.4/bin/python3"
RUN pyenv install 3.11.4 && pyenv global 3.11.4 && poetry env use "${HOME}/.pyenv/versions/3.11.4/bin/python3"

0 comments on commit f5e2005

Please sign in to comment.