Skip to content

Commit

Permalink
Update build dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Apr 23, 2024
1 parent e248da8 commit 2a41bef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions install/aws/dev/docker/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM rust:alpine AS rust

# Install system dependencies
RUN apk update
RUN apk add --no-cache libmagic
RUN apk add --no-cache build-base libmagic-static

# Copy source
RUN mkdir /src
Expand All @@ -28,7 +28,8 @@ FROM alpine:latest

ENV LOCALIZATION_PATH="/opt/locales"

RUN apk add --no-cache curl libmagic
RUN apk update
RUN apk add --no-cache curl
COPY --from=rust /src/deepwell/target/release/deepwell /usr/local/bin/deepwell
COPY ./install/files/api/health-check.sh /bin/wikijump-health-check
COPY ./locales/fluent /opt/locales/fluent
Expand Down
5 changes: 3 additions & 2 deletions install/aws/prod/docker/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM rust:alpine AS rust

# Install system dependencies
RUN apk update
RUN apk add --no-cache libmagic
RUN apk add --no-cache build-base libmagic-static

# Copy source
RUN mkdir /src
Expand All @@ -28,7 +28,8 @@ FROM alpine:latest

ENV LOCALIZATION_PATH="/opt/locales"

RUN apk add --no-cache curl libmagic
RUN apk update
RUN apk add --no-cache curl
COPY --from=rust /src/deepwell/target/release/deepwell /usr/local/bin/deepwell
COPY ./install/files/api/health-check.sh /bin/wikijump-health-check
COPY ./locales/fluent /opt/locales/fluent
Expand Down

0 comments on commit 2a41bef

Please sign in to comment.