Skip to content

Commit

Permalink
add dogstatsd to alpine build and upgrade alpine version
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanpharvey committed Aug 30, 2024
1 parent f43b3f2 commit ddb3fc0
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions tools/docker/Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG ALPINE_BASE_IMAGE="alpine:3.18"
ARG ALPINE_BASE_IMAGE="alpine:3.20"
ARG CARGO_BUILD_INCREMENTAL="true"
ARG CARGO_NET_RETRY="2"
ARG BUILDER_IMAGE=debian_builder
Expand Down Expand Up @@ -44,13 +44,7 @@ SHELL ["/bin/bash", "-c"]
#RUN rustup-init -y --no-modify-path --default-toolchain stable

FROM alpine_base as alpine_aws_cli
RUN apk add --no-cache \
python3 \
py3-pip \
groff \
&& pip3 install --upgrade pip \
&& pip3 install --no-cache-dir \
awscli \
RUN apk add --no-cache aws-cli \
&& rm -rf /var/cache/apk/*

RUN aws --version # Just to make sure its installed alright
Expand Down Expand Up @@ -83,6 +77,7 @@ COPY "ddcommon-ffi/Cargo.toml" "ddcommon-ffi/"
COPY "ddtelemetry/Cargo.toml" "ddtelemetry/"
COPY "ddtelemetry-ffi/Cargo.toml" "ddtelemetry-ffi/"
COPY "ddsketch/Cargo.toml" "ddsketch/"
COPY "dogstatsd/Cargo.toml" "dogstatsd/"
COPY "dynamic-configuration/Cargo.toml" "dynamic-configuration/"
COPY "profiling/Cargo.toml" "profiling/"
COPY "profiling-ffi/Cargo.toml" "profiling-ffi/"
Expand Down

0 comments on commit ddb3fc0

Please sign in to comment.