Skip to content

Commit

Permalink
Fix Docker image for Fedora 37
Browse files Browse the repository at this point in the history
  • Loading branch information
angelini committed Feb 14, 2023
1 parent 88f3667 commit 4dc198b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=linux/amd64 registry.fedoraproject.org/fedora-minimal:37

RUN microdnf install -y curl findutils iputils postgresql procps tar time which \
RUN microdnf install -y curl findutils gzip iputils less postgresql procps shadow-utils tar time which \
&& microdnf clean all

RUN GRPC_HEALTH_PROBE_VERSION=v0.4.15 \
Expand All @@ -10,7 +10,6 @@ RUN GRPC_HEALTH_PROBE_VERSION=v0.4.15 \
RUN GO_MIGRATE_VERSION=v4.15.2 \
&& curl -Lfso /tmp/migrate.tar.gz https://github.com/golang-migrate/migrate/releases/download/${GO_MIGRATE_VERSION}/migrate.linux-amd64.tar.gz \
&& tar -xzf /tmp/migrate.tar.gz -C /bin \
&& mv /bin/migrate.linux-amd64 /bin/migrate \
&& chmod +x /bin/migrate

RUN useradd -ms /bin/bash main
Expand Down

0 comments on commit 4dc198b

Please sign in to comment.