Skip to content

Commit

Permalink
Merge pull request #1387 from kaytu-io/fix-steampipe-upgrade
Browse files Browse the repository at this point in the history
fix: fix installing steampipe
  • Loading branch information
artaasadi authored Jul 31, 2024
2 parents efb862c + 80463ab commit 45afc67
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/AnalyticsWorkerDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ FROM ${PLUGIN_REGISTRY}/steampipe-plugin-azure:0.0.1 as azure
FROM ${PLUGIN_REGISTRY}/steampipe-plugin-azuread:0.0.1 as azuread
FROM ${PLUGIN_REGISTRY}/steampipe-plugin-kaytu:0.0.1 as kaytu

FROM ubuntu:20.04 AS base
RUN apt-get update && apt-get install -y \
curl \
sudo \
&& rm -rf /var/lib/apt/lists/*

RUN sudo /bin/sh -c "$(curl -fsSL https://powerpipe.io/install/powerpipe.sh)"

FROM base AS final
COPY --from=aws /steampipe-plugin-aws.plugin /home/steampipe/.steampipe/plugins/hub.steampipe.io/plugins/turbot/aws@latest/steampipe-plugin-aws.plugin
COPY --from=azure /steampipe-plugin-azure.plugin /home/steampipe/.steampipe/plugins/hub.steampipe.io/plugins/turbot/azure@latest/steampipe-plugin-azure.plugin
COPY --from=azuread /steampipe-plugin-azuread.plugin /home/steampipe/.steampipe/plugins/hub.steampipe.io/plugins/turbot/azuread@latest/steampipe-plugin-azuread.plugin
Expand Down
2 changes: 1 addition & 1 deletion docker/ComplianceReportWorkerDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ FROM ${PLUGIN_REGISTRY}/steampipe-plugin-azure:0.0.1 as azure
FROM ${PLUGIN_REGISTRY}/steampipe-plugin-azuread:0.0.1 as azuread
FROM ${PLUGIN_REGISTRY}/steampipe-plugin-kaytu:0.0.1 as kaytu

FROM ubuntu:20.04 AS base
RUN apt-get update && apt-get install -y \
curl \
sudo \
&& rm -rf /var/lib/apt/lists/*

RUN sudo /bin/sh -c "$(curl -fsSL https://powerpipe.io/install/powerpipe.sh)"

FROM base AS final
COPY --from=aws /steampipe-plugin-aws.plugin /home/steampipe/.steampipe/plugins/hub.steampipe.io/plugins/turbot/aws@latest/steampipe-plugin-aws.plugin
COPY --from=azure /steampipe-plugin-azure.plugin /home/steampipe/.steampipe/plugins/hub.steampipe.io/plugins/turbot/azure@latest/steampipe-plugin-azure.plugin
COPY --from=azuread /steampipe-plugin-azuread.plugin /home/steampipe/.steampipe/plugins/hub.steampipe.io/plugins/turbot/azuread@latest/steampipe-plugin-azuread.plugin
Expand Down
2 changes: 1 addition & 1 deletion docker/InsightWorkerDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ FROM ${PLUGIN_REGISTRY}/steampipe-plugin-azure:0.0.1 as azure
FROM ${PLUGIN_REGISTRY}/steampipe-plugin-azuread:0.0.1 as azuread
FROM ${PLUGIN_REGISTRY}/steampipe-plugin-kaytu:0.0.1 as kaytu

FROM ubuntu:20.04 AS base
RUN apt-get update && apt-get install -y \
curl \
sudo \
&& rm -rf /var/lib/apt/lists/*

RUN sudo /bin/sh -c "$(curl -fsSL https://powerpipe.io/install/powerpipe.sh)"

FROM base AS final
COPY --from=aws /steampipe-plugin-aws.plugin /home/steampipe/.steampipe/plugins/hub.steampipe.io/plugins/turbot/aws@latest/steampipe-plugin-aws.plugin
COPY --from=azure /steampipe-plugin-azure.plugin /home/steampipe/.steampipe/plugins/hub.steampipe.io/plugins/turbot/azure@latest/steampipe-plugin-azure.plugin
COPY --from=azuread /steampipe-plugin-azuread.plugin /home/steampipe/.steampipe/plugins/hub.steampipe.io/plugins/turbot/azuread@latest/steampipe-plugin-azuread.plugin
Expand Down
2 changes: 1 addition & 1 deletion docker/SteampipeServiceDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ FROM ${PLUGIN_REGISTRY}/steampipe-plugin-azure:0.0.1 as azure
FROM ${PLUGIN_REGISTRY}/steampipe-plugin-azuread:0.0.1 as azuread
FROM ${PLUGIN_REGISTRY}/steampipe-plugin-kaytu:0.0.1 as kaytu

FROM ubuntu:20.04 AS base
RUN apt-get update && apt-get install -y \
curl \
sudo \
&& rm -rf /var/lib/apt/lists/*

RUN sudo /bin/sh -c "$(curl -fsSL https://powerpipe.io/install/powerpipe.sh)"

FROM base AS final
COPY --from=aws /steampipe-plugin-aws.plugin /home/steampipe/.steampipe/plugins/hub.steampipe.io/plugins/turbot/aws@latest/steampipe-plugin-aws.plugin
COPY --from=azure /steampipe-plugin-azure.plugin /home/steampipe/.steampipe/plugins/hub.steampipe.io/plugins/turbot/azure@latest/steampipe-plugin-azure.plugin
COPY --from=azuread /steampipe-plugin-azuread.plugin /home/steampipe/.steampipe/plugins/hub.steampipe.io/plugins/turbot/azuread@latest/steampipe-plugin-azuread.plugin
Expand Down

0 comments on commit 45afc67

Please sign in to comment.