Skip to content

Commit

Permalink
fix docker builds (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
robch authored Oct 14, 2023
1 parent 000352e commit ba3a8c4
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 56 deletions.
7 changes: 0 additions & 7 deletions dockerfiles/debian10.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,11 @@ FROM mcr.microsoft.com/devcontainers/base:buster AS base
ARG AZURE_CLI_VERSION=1.0.0-alpha1010.2
ARG DOWNLOAD_SCRIPT=false

# needed for build_mlindex
RUN apt update && apt install -y fuse

# Copy the required scripts into the container
WORKDIR /_scratch
COPY ./scripts/InstallAzureAICLIDeb.sh /_scratch/
COPY ./scripts/InstallAzureAICLIDeb-UpdateVersion.sh /_scratch/

# Install Python SDK
COPY ./dockerfiles/requirements.txt /_scratch/
RUN pip install -r requirements.txt

# If we're downloading the script, do so
RUN if [ "${DOWNLOAD_SCRIPT}" = "true" ]; then \
wget https://csspeechstorage.blob.core.windows.net/drop/private/ai/InstallAzureAICLIDeb-${AZURE_CLI_VERSION}.sh -O /_scratch/InstallAzureAICLIDeb-${AZURE_CLI_VERSION}.sh; \
Expand Down
7 changes: 0 additions & 7 deletions dockerfiles/debian11.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,11 @@ FROM mcr.microsoft.com/devcontainers/base:bullseye AS base
ARG AZURE_CLI_VERSION=1.0.0-alpha1010.2
ARG DOWNLOAD_SCRIPT=false

# needed for build_mlindex
RUN apt update && apt install -y fuse

# Copy the required scripts into the container
WORKDIR /_scratch
COPY ./scripts/InstallAzureAICLIDeb.sh /_scratch/
COPY ./scripts/InstallAzureAICLIDeb-UpdateVersion.sh /_scratch/

# Install Python SDK
COPY ./dockerfiles/requirements.txt /_scratch/
RUN pip install -r requirements.txt

# If we're downloading the script, do so
RUN if [ "${DOWNLOAD_SCRIPT}" = "true" ]; then \
wget https://csspeechstorage.blob.core.windows.net/drop/private/ai/InstallAzureAICLIDeb-${AZURE_CLI_VERSION}.sh -O /_scratch/InstallAzureAICLIDeb-${AZURE_CLI_VERSION}.sh; \
Expand Down
7 changes: 0 additions & 7 deletions dockerfiles/debian12.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,11 @@ FROM mcr.microsoft.com/devcontainers/base:bookworm AS base
ARG AZURE_CLI_VERSION=1.0.0-alpha1010.2
ARG DOWNLOAD_SCRIPT=false

# needed for build_mlindex
RUN apt update && apt install -y fuse

# Copy the required scripts into the container
WORKDIR /_scratch
COPY ./scripts/InstallAzureAICLIDeb.sh /_scratch/
COPY ./scripts/InstallAzureAICLIDeb-UpdateVersion.sh /_scratch/

# Install Python SDK
COPY ./dockerfiles/requirements.txt /_scratch/
RUN pip install -r requirements.txt

# If we're downloading the script, do so
RUN if [ "${DOWNLOAD_SCRIPT}" = "true" ]; then \
wget https://csspeechstorage.blob.core.windows.net/drop/private/ai/InstallAzureAICLIDeb-${AZURE_CLI_VERSION}.sh -O /_scratch/InstallAzureAICLIDeb-${AZURE_CLI_VERSION}.sh; \
Expand Down
21 changes: 0 additions & 21 deletions dockerfiles/requirements.txt

This file was deleted.

7 changes: 0 additions & 7 deletions dockerfiles/ubuntu2004.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,11 @@ FROM mcr.microsoft.com/devcontainers/base:focal AS base
ARG AZURE_CLI_VERSION=1.0.0-alpha1010.2
ARG DOWNLOAD_SCRIPT=false

# needed for build_mlindex
RUN apt update && apt install -y fuse

# Copy the required scripts into the container
WORKDIR /_scratch
COPY ./scripts/InstallAzureAICLIDeb.sh /_scratch/
COPY ./scripts/InstallAzureAICLIDeb-UpdateVersion.sh /_scratch/

# Install Python SDK
COPY ./dockerfiles/requirements.txt /_scratch/
RUN pip install -r requirements.txt

# If we're downloading the script, do so
RUN if [ "${DOWNLOAD_SCRIPT}" = "true" ]; then \
wget https://csspeechstorage.blob.core.windows.net/drop/private/ai/InstallAzureAICLIDeb-${AZURE_CLI_VERSION}.sh -O /_scratch/InstallAzureAICLIDeb-${AZURE_CLI_VERSION}.sh; \
Expand Down
7 changes: 0 additions & 7 deletions dockerfiles/ubuntu2204.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,11 @@ FROM mcr.microsoft.com/devcontainers/base:jammy AS base
ARG AZURE_CLI_VERSION=1.0.0-alpha1010.2
ARG DOWNLOAD_SCRIPT=false

# needed for build_mlindex
RUN apt update && apt install -y fuse

# Copy the required scripts into the container
WORKDIR /_scratch
COPY ./scripts/InstallAzureAICLIDeb.sh /_scratch/
COPY ./scripts/InstallAzureAICLIDeb-UpdateVersion.sh /_scratch/

# Install Python SDK
COPY ./dockerfiles/requirements.txt /_scratch/
RUN pip install -r requirements.txt

# If we're downloading the script, do so
RUN if [ "${DOWNLOAD_SCRIPT}" = "true" ]; then \
wget https://csspeechstorage.blob.core.windows.net/drop/private/ai/InstallAzureAICLIDeb-${AZURE_CLI_VERSION}.sh -O /_scratch/InstallAzureAICLIDeb-${AZURE_CLI_VERSION}.sh; \
Expand Down

0 comments on commit ba3a8c4

Please sign in to comment.