Skip to content

Commit

Permalink
fix(all): /Users/nicolas.schweitzer is not known in docker context, f…
Browse files Browse the repository at this point in the history
…orce it to root home
  • Loading branch information
chouetz committed Jan 26, 2024
1 parent ab32966 commit da184e6
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .curlrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--continue-at -
--include
--location
--retry 10
--max-time 120
--show-error
--silent
6 changes: 3 additions & 3 deletions btf-gen/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
python3-pip \
xz-utils

COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/

RUN git clone --recurse-submodules https://github.com/libbpf/bpftool.git
WORKDIR bpftool
RUN git reset --hard cb3deb23d34abdb33f6bcc5fadeee676e538e2ff
Expand All @@ -28,6 +31,3 @@ RUN make -C src/ V=1 install

COPY requirements ./
RUN pip install -r btf-gen.txt

COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
4 changes: 2 additions & 2 deletions circleci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ COPY requirements /requirements
RUN python3 -m pip install -r requirements.txt -r requirements/circleci.txt

# External calls configuration
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/

# Setup entrypoint
WORKDIR $GOPATH
4 changes: 2 additions & 2 deletions datadog-ci-uploader/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ ENV DATADOG_CI_VERSION=2.17.2
RUN apt update && apt install -y curl git python3 python3-pip
COPY requirements /
RUN pip install -r uploader.txt
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/

RUN curl -L https://raw.githubusercontent.com/tj/n/v${N_VERSION}/bin/n -o n \
&& echo "${N_SHA256} n" | sha256sum --check \
Expand Down
4 changes: 2 additions & 2 deletions dd-agent-testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ COPY requirements /requirements
RUN python3 -m pip install -r requirements.txt

# External calls configuration
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/

# Ruby
RUN gem install bundler --version ${BUNDLER_VERSION}
Expand Down
4 changes: 2 additions & 2 deletions deb-arm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ ENV PATH "${CONDA_PATH}/condabin:${PATH}"
ENV PKG_CONFIG_LIBDIR "${PKG_CONFIG_LIBDIR}:${CONDA_PATH}/lib/pkgconfig"

# External calls configuration
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/

# Patchelf
RUN curl -L -o patchelf-${PATCHELF_VERSION}.tar.gz https://github.com/NixOS/patchelf/archive/refs/tags/${PATCHELF_VERSION}.tar.gz \
Expand Down
4 changes: 2 additions & 2 deletions deb-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ ENV PATH "${CONDA_PATH}/condabin:${PATH}"
ENV PKG_CONFIG_LIBDIR "${PKG_CONFIG_LIBDIR}:${CONDA_PATH}/lib/pkgconfig"

# External calls configuration
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/

# RVM
COPY ./rvm/gpg-keys /gpg-keys
Expand Down
4 changes: 2 additions & 2 deletions docker-arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ COPY requirements /requirements
RUN python3 -m pip install -r requirements.txt

# External calls configuration
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/
4 changes: 2 additions & 2 deletions docker-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ COPY requirements /requirements
RUN python3 -m pip install -r requirements.txt

# External calls configuration
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/
4 changes: 2 additions & 2 deletions rpm-arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ ENV PATH "${CONDA_PATH}/condabin:${PATH}"
ENV PKG_CONFIG_LIBDIR "${PKG_CONFIG_LIBDIR}:${CONDA_PATH}/lib/pkgconfig"

# External calls configuration
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/

# Patchelf
RUN curl -L -o patchelf-${PATCHELF_VERSION}.tar.gz https://github.com/NixOS/patchelf/archive/refs/tags/${PATCHELF_VERSION}.tar.gz \
Expand Down
4 changes: 2 additions & 2 deletions rpm-armhf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ COPY requirements /requirements
RUN ./setup_python.sh

# External calls configuration
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/

# Go
RUN curl -sL -o /tmp/golang.tar.gz https://go.dev/dl/go$GO_VERSION.linux-armv6l.tar.gz \
Expand Down
4 changes: 2 additions & 2 deletions rpm-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ ENV PATH "${CONDA_PATH}/condabin:${PATH}"
ENV PKG_CONFIG_LIBDIR "${PKG_CONFIG_LIBDIR}:${CONDA_PATH}/lib/pkgconfig"

# External calls configuration
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/

# RVM
COPY ./rvm/gpg-keys /gpg-keys
Expand Down
4 changes: 2 additions & 2 deletions suse-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ ENV PATH "${CONDA_PATH}/condabin:${PATH}"
ENV PKG_CONFIG_LIBDIR "${PKG_CONFIG_LIBDIR}:${CONDA_PATH}/lib/pkgconfig"

# External calls configuration
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/

# RVM
COPY ./rvm/gpg-keys /gpg-keys
Expand Down
4 changes: 2 additions & 2 deletions system-probe_arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ COPY /requirements /requirements
RUN python3 -m pip install -r requirements.txt

# External calls configuration
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/
4 changes: 2 additions & 2 deletions system-probe_x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ COPY /requirements /requirements
RUN python3 -m pip install -r requirements.txt

# External calls configuration
COPY .awsconfig $HOME/.aws/config
COPY .curlrc .wgetrc $HOME/
COPY .awsconfig /root/.aws/config
COPY .curlrc .wgetrc /root/

0 comments on commit da184e6

Please sign in to comment.