Skip to content

Commit

Permalink
Add system dependency for libmagic .so file
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Oct 23, 2024
1 parent 7f88693 commit e5bbc1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install/aws/prod/docker/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ FROM debian:latest
ENV LOCALIZATION_PATH="/opt/locales"

RUN apt update
RUN apt install -y curl libmagic-mgc
RUN apt install -y curl libmagic1 libmagic-mgc
COPY --from=rust /src/deepwell/target/release/deepwell /usr/local/bin/deepwell
COPY ./install/files/api/health-check.sh /bin/wikijump-health-check
COPY ./install/files/prod/deepwell.toml /etc/deepwell.toml
Expand Down
2 changes: 1 addition & 1 deletion install/dev/digitalocean/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ENV LOCALIZATION_PATH="/opt/locales"
# Install system dependencies
RUN mkdir /opt/database
RUN apt update
RUN apt install -y curl libmagic-mgc postgresql-client
RUN apt install -y curl libmagic1 libmagic-mgc postgresql-client

# Install files
COPY --from=rust /usr/local/cargo/bin/sqlx /usr/local/cargo/bin/sqlx
Expand Down

0 comments on commit e5bbc1d

Please sign in to comment.