Skip to content

Instantly share code, notes, and snippets.

@Berdir
Created February 1, 2023 22:00
Show Gist options
  • Save Berdir/c98a896c0588196eb2aef134d3f2aa45 to your computer and use it in GitHub Desktop.
Save Berdir/c98a896c0588196eb2aef134d3f2aa45 to your computer and use it in GitHub Desktop.
ddev relay
# .ddev/web-build/Dockerfile
# You can copy this Dockerfile.example to Dockerfile to add configuration
# or packages or anything else to your webimage
ARG BASE_IMAGE
FROM $BASE_IMAGE
# Add Relay repository
RUN wget -q "https://repos.r2.relay.so/key.gpg" -O- | apt-key add -
RUN echo "deb https://repos.r2.relay.so/deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
RUN apt-get update
# Install Relay
RUN apt-get install -y \
php8.1-relay
@tillkruss
Copy link

Looks like this might be the way to go:

deb [arch=amd64,arm64 signed-by=/usr/share/keyrings/elastic-7.x.gpg] https://artifacts.elastic.co/packages/7.x/apt stable main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment