Skip to content

Commit

Permalink
chore: iterate on the packaged container image
Browse files Browse the repository at this point in the history
  • Loading branch information
cablehead committed Nov 11, 2024
1 parent 6d2d558 commit ceace87
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/Dockerfile.release-docker
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
FROM ubuntu:latest

RUN apt-get update && apt-get install -y libssl-dev curl git jq
RUN apt-get update && apt-get install -y libssl-dev curl git jq jo unzip

# Nushell
# nu
ARG NU_VERSION=0.99.1
RUN curl --fail -L https://github.com/nushell/nushell/releases/download/${NU_VERSION}/nu-${NU_VERSION}-x86_64-unknown-linux-gnu.tar.gz | \
tar -xz -C /usr/bin --strip-components=1 nu-${NU_VERSION}-x86_64-unknown-linux-gnu/nu && \
mkdir -p /root/.config/nushell && nu -c "config nu --default" > /root/.config/nushell/config.nu && nu -c "config env --default" > /root/.config/nushell/env.nu

# Install websocat
# websocat
ARG WEBSOCAT_VERSION=1.13.0
RUN curl --fail -L -o /usr/bin/websocat https://github.com/vi/websocat/releases/download/v${WEBSOCAT_VERSION}/websocat_max.x86_64-unknown-linux-musl && \
chmod +x /usr/bin/websocat

# Install Caddy
# caddy
ARG CADDY_VERSION=2.8.4
RUN curl --fail -L -o /tmp/caddy.tar.gz https://github.com/caddyserver/caddy/releases/download/v${CADDY_VERSION}/caddy_${CADDY_VERSION}_linux_amd64.tar.gz && \
tar -xz -C /usr/bin -f /tmp/caddy.tar.gz caddy && \
rm /tmp/caddy.tar.gz && \
chmod +x /usr/bin/caddy

# aws
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf aws awscliv2.zip

WORKDIR /app

COPY target/release/xs /usr/local/bin/xs
Expand Down

0 comments on commit ceace87

Please sign in to comment.