Skip to content

Commit

Permalink
Fixed Docker build
Browse files Browse the repository at this point in the history
- Broke for some reason?
  • Loading branch information
ksmit799 committed Oct 12, 2023
1 parent 93575da commit 35fb297
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,15 @@ RUN cmake .. -DCMAKE_BUILD_TYPE=Release && make

FROM ubuntu:23.10

# Install dependencies.
RUN set -ex; \
apt-get update; \
apt-get install -y libssl3;

# Copy the build artificat.
COPY --from=build /app/build/bin /app
COPY --from=build /app/build/bin/ardos /app/ardos
COPY --from=build /app/build/bin/libuv.s* /usr/local/lib/
COPY --from=build /usr/local/lib/lib* /usr/local/lib/
COPY --from=build /app/build/libs/libuv/libuv.s* /usr/local/lib/

RUN ldconfig

Expand Down
9 changes: 7 additions & 2 deletions Dockerfile-legacy
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,15 @@ RUN cmake .. -DCMAKE_BUILD_TYPE=Release -DARDOS_USE_LEGACY_CLIENT=ON && make

FROM ubuntu:23.10

# Install dependencies.
RUN set -ex; \
apt-get update; \
apt-get install -y libssl3;

# Copy the build artificat.
COPY --from=build /app/build/bin /app
COPY --from=build /app/build/bin/ardos /app/ardos
COPY --from=build /app/build/bin/libuv.s* /usr/local/lib/
COPY --from=build /usr/local/lib/lib* /usr/local/lib/
COPY --from=build /app/build/libs/libuv/libuv.s* /usr/local/lib/

RUN ldconfig

Expand Down

0 comments on commit 35fb297

Please sign in to comment.