Skip to content

Commit

Permalink
chore: gen dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Souheil-Yazji committed Oct 9, 2024
1 parent 449b1ad commit b1a59b9
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 108 deletions.
28 changes: 10 additions & 18 deletions output/jupyterlab-cpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ARG ARGO_CLI_VERSION=v3.4.5
ARG ARGO_CLI_URL=https://github.com/argoproj/argo-workflows/releases/download/${ARGO_CLI_VERSION}/argo-linux-amd64.gz
ARG ARGO_CLI_SHA=0528ff0c0aa87a3f150376eee2f1b26e8b41eb96578c43d715c906304627d3a1

ENV QUARTO_VERSION=1.5.52
ARG QUARTO_VERSION=1.5.52
ARG QUARTO_SHA=d4d47989181d49ea48907f8aee32d7fc3823955885a9bab7b07afad2dccf4451
ARG QUARTO_URL=https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

Expand Down Expand Up @@ -137,23 +137,15 @@ RUN \
&& gunzip argo-linux-amd64.gz \
&& chmod +x argo-linux-amd64 \
&& sudo mv ./argo-linux-amd64 /usr/local/bin/argo \
&& argo version

# Download quarto archive
RUN curl -sLO ${QUARTO_URL}

# Verify checksum
RUN echo "${QUARTO_SHA} quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" | sha256sum -c -

# Extract archive
RUN tar -xf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

# Change file modes
RUN chmod +x quarto-${QUARTO_VERSION}

# Move binaries to /usr
RUN sudo rm -f /usr/local/bin/quarto
RUN sudo mv ./quarto-${QUARTO_VERSION} /usr/local/bin/quarto
&& argo version \
&& \
# quarto
curl -sLO ${QUARTO_URL} \
&& echo "${QUARTO_SHA} quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" | sha256sum -c - \
&& tar -xf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz \
&& chmod +x quarto-${QUARTO_VERSION} \
&& sudo rm -f /usr/local/bin/quarto \
&& sudo mv ./quarto-${QUARTO_VERSION} /usr/local/bin/quarto \

###############################
### docker-bits/5_DB-Drivers.Dockerfile
Expand Down
28 changes: 10 additions & 18 deletions output/jupyterlab-pytorch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ ARG ARGO_CLI_VERSION=v3.4.5
ARG ARGO_CLI_URL=https://github.com/argoproj/argo-workflows/releases/download/${ARGO_CLI_VERSION}/argo-linux-amd64.gz
ARG ARGO_CLI_SHA=0528ff0c0aa87a3f150376eee2f1b26e8b41eb96578c43d715c906304627d3a1

ENV QUARTO_VERSION=1.5.52
ARG QUARTO_VERSION=1.5.52
ARG QUARTO_SHA=d4d47989181d49ea48907f8aee32d7fc3823955885a9bab7b07afad2dccf4451
ARG QUARTO_URL=https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

Expand Down Expand Up @@ -159,23 +159,15 @@ RUN \
&& gunzip argo-linux-amd64.gz \
&& chmod +x argo-linux-amd64 \
&& sudo mv ./argo-linux-amd64 /usr/local/bin/argo \
&& argo version

# Download quarto archive
RUN curl -sLO ${QUARTO_URL}

# Verify checksum
RUN echo "${QUARTO_SHA} quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" | sha256sum -c -

# Extract archive
RUN tar -xf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

# Change file modes
RUN chmod +x quarto-${QUARTO_VERSION}

# Move binaries to /usr
RUN sudo rm -f /usr/local/bin/quarto
RUN sudo mv ./quarto-${QUARTO_VERSION} /usr/local/bin/quarto
&& argo version \
&& \
# quarto
curl -sLO ${QUARTO_URL} \
&& echo "${QUARTO_SHA} quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" | sha256sum -c - \
&& tar -xf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz \
&& chmod +x quarto-${QUARTO_VERSION} \
&& sudo rm -f /usr/local/bin/quarto \
&& sudo mv ./quarto-${QUARTO_VERSION} /usr/local/bin/quarto \

###############################
### docker-bits/5_DB-Drivers.Dockerfile
Expand Down
28 changes: 10 additions & 18 deletions output/jupyterlab-tensorflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ ARG ARGO_CLI_VERSION=v3.4.5
ARG ARGO_CLI_URL=https://github.com/argoproj/argo-workflows/releases/download/${ARGO_CLI_VERSION}/argo-linux-amd64.gz
ARG ARGO_CLI_SHA=0528ff0c0aa87a3f150376eee2f1b26e8b41eb96578c43d715c906304627d3a1

ENV QUARTO_VERSION=1.5.52
ARG QUARTO_VERSION=1.5.52
ARG QUARTO_SHA=d4d47989181d49ea48907f8aee32d7fc3823955885a9bab7b07afad2dccf4451
ARG QUARTO_URL=https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

Expand Down Expand Up @@ -266,23 +266,15 @@ RUN \
&& gunzip argo-linux-amd64.gz \
&& chmod +x argo-linux-amd64 \
&& sudo mv ./argo-linux-amd64 /usr/local/bin/argo \
&& argo version

# Download quarto archive
RUN curl -sLO ${QUARTO_URL}

# Verify checksum
RUN echo "${QUARTO_SHA} quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" | sha256sum -c -

# Extract archive
RUN tar -xf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

# Change file modes
RUN chmod +x quarto-${QUARTO_VERSION}

# Move binaries to /usr
RUN sudo rm -f /usr/local/bin/quarto
RUN sudo mv ./quarto-${QUARTO_VERSION} /usr/local/bin/quarto
&& argo version \
&& \
# quarto
curl -sLO ${QUARTO_URL} \
&& echo "${QUARTO_SHA} quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" | sha256sum -c - \
&& tar -xf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz \
&& chmod +x quarto-${QUARTO_VERSION} \
&& sudo rm -f /usr/local/bin/quarto \
&& sudo mv ./quarto-${QUARTO_VERSION} /usr/local/bin/quarto \

###############################
### docker-bits/5_DB-Drivers.Dockerfile
Expand Down
28 changes: 10 additions & 18 deletions output/remote-desktop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ ARG ARGO_CLI_VERSION=v3.4.5
ARG ARGO_CLI_URL=https://github.com/argoproj/argo-workflows/releases/download/${ARGO_CLI_VERSION}/argo-linux-amd64.gz
ARG ARGO_CLI_SHA=0528ff0c0aa87a3f150376eee2f1b26e8b41eb96578c43d715c906304627d3a1

ENV QUARTO_VERSION=1.5.52
ARG QUARTO_VERSION=1.5.52
ARG QUARTO_SHA=d4d47989181d49ea48907f8aee32d7fc3823955885a9bab7b07afad2dccf4451
ARG QUARTO_URL=https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

Expand Down Expand Up @@ -212,23 +212,15 @@ RUN \
&& gunzip argo-linux-amd64.gz \
&& chmod +x argo-linux-amd64 \
&& sudo mv ./argo-linux-amd64 /usr/local/bin/argo \
&& argo version

# Download quarto archive
RUN curl -sLO ${QUARTO_URL}

# Verify checksum
RUN echo "${QUARTO_SHA} quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" | sha256sum -c -

# Extract archive
RUN tar -xf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

# Change file modes
RUN chmod +x quarto-${QUARTO_VERSION}

# Move binaries to /usr
RUN sudo rm -f /usr/local/bin/quarto
RUN sudo mv ./quarto-${QUARTO_VERSION} /usr/local/bin/quarto
&& argo version \
&& \
# quarto
curl -sLO ${QUARTO_URL} \
&& echo "${QUARTO_SHA} quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" | sha256sum -c - \
&& tar -xf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz \
&& chmod +x quarto-${QUARTO_VERSION} \
&& sudo rm -f /usr/local/bin/quarto \
&& sudo mv ./quarto-${QUARTO_VERSION} /usr/local/bin/quarto \

###############################
### docker-bits/6_remote-desktop.Dockerfile
Expand Down
28 changes: 10 additions & 18 deletions output/rstudio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ARG ARGO_CLI_VERSION=v3.4.5
ARG ARGO_CLI_URL=https://github.com/argoproj/argo-workflows/releases/download/${ARGO_CLI_VERSION}/argo-linux-amd64.gz
ARG ARGO_CLI_SHA=0528ff0c0aa87a3f150376eee2f1b26e8b41eb96578c43d715c906304627d3a1

ENV QUARTO_VERSION=1.5.52
ARG QUARTO_VERSION=1.5.52
ARG QUARTO_SHA=d4d47989181d49ea48907f8aee32d7fc3823955885a9bab7b07afad2dccf4451
ARG QUARTO_URL=https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

Expand Down Expand Up @@ -137,23 +137,15 @@ RUN \
&& gunzip argo-linux-amd64.gz \
&& chmod +x argo-linux-amd64 \
&& sudo mv ./argo-linux-amd64 /usr/local/bin/argo \
&& argo version

# Download quarto archive
RUN curl -sLO ${QUARTO_URL}

# Verify checksum
RUN echo "${QUARTO_SHA} quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" | sha256sum -c -

# Extract archive
RUN tar -xf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

# Change file modes
RUN chmod +x quarto-${QUARTO_VERSION}

# Move binaries to /usr
RUN sudo rm -f /usr/local/bin/quarto
RUN sudo mv ./quarto-${QUARTO_VERSION} /usr/local/bin/quarto
&& argo version \
&& \
# quarto
curl -sLO ${QUARTO_URL} \
&& echo "${QUARTO_SHA} quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" | sha256sum -c - \
&& tar -xf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz \
&& chmod +x quarto-${QUARTO_VERSION} \
&& sudo rm -f /usr/local/bin/quarto \
&& sudo mv ./quarto-${QUARTO_VERSION} /usr/local/bin/quarto \

###############################
### docker-bits/5_DB-Drivers.Dockerfile
Expand Down
28 changes: 10 additions & 18 deletions output/sas/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ARG ARGO_CLI_VERSION=v3.4.5
ARG ARGO_CLI_URL=https://github.com/argoproj/argo-workflows/releases/download/${ARGO_CLI_VERSION}/argo-linux-amd64.gz
ARG ARGO_CLI_SHA=0528ff0c0aa87a3f150376eee2f1b26e8b41eb96578c43d715c906304627d3a1

ENV QUARTO_VERSION=1.5.52
ARG QUARTO_VERSION=1.5.52
ARG QUARTO_SHA=d4d47989181d49ea48907f8aee32d7fc3823955885a9bab7b07afad2dccf4451
ARG QUARTO_URL=https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

Expand Down Expand Up @@ -138,23 +138,15 @@ RUN \
&& gunzip argo-linux-amd64.gz \
&& chmod +x argo-linux-amd64 \
&& sudo mv ./argo-linux-amd64 /usr/local/bin/argo \
&& argo version

# Download quarto archive
RUN curl -sLO ${QUARTO_URL}

# Verify checksum
RUN echo "${QUARTO_SHA} quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" | sha256sum -c -

# Extract archive
RUN tar -xf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

# Change file modes
RUN chmod +x quarto-${QUARTO_VERSION}

# Move binaries to /usr
RUN sudo rm -f /usr/local/bin/quarto
RUN sudo mv ./quarto-${QUARTO_VERSION} /usr/local/bin/quarto
&& argo version \
&& \
# quarto
curl -sLO ${QUARTO_URL} \
&& echo "${QUARTO_SHA} quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" | sha256sum -c - \
&& tar -xf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz \
&& chmod +x quarto-${QUARTO_VERSION} \
&& sudo rm -f /usr/local/bin/quarto \
&& sudo mv ./quarto-${QUARTO_VERSION} /usr/local/bin/quarto \

###############################
### docker-bits/5_DB-Drivers.Dockerfile
Expand Down

0 comments on commit b1a59b9

Please sign in to comment.