Skip to content

Commit

Permalink
Use latest alpine for container image
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhoerberg committed Feb 20, 2024
1 parent c27a1bd commit bd95102
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ WORKDIR /tmp
COPY shard.yml shard.lock ./
RUN shards install --production
COPY src/ src/
RUN shards build --production --release --debug
RUN shards build --production --release

FROM alpine:3.18
RUN apk add --no-cache libssl1.1 pcre2 libevent libgcc \
FROM alpine:latest
RUN apk add --no-cache libssl3 pcre2 libevent libgcc \
&& addgroup --gid 1000 amqpproxy \
&& adduser --no-create-home --disabled-password --uid 1000 amqpproxy -G amqpproxy
COPY --from=builder /tmp/bin/amqproxy /usr/bin/amqproxy
Expand Down

0 comments on commit bd95102

Please sign in to comment.