Skip to content

Commit

Permalink
v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ouyangkang committed Mar 13, 2024
1 parent 76b024c commit 41dee90
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile.gitlab
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

FROM rust:1.74-slim as builder

RUN rustup target add x86_64-unknown-linux-musl
RUN apt update && apt install -y musl-tools musl-dev

WORKDIR /usr/src/

COPY . .
Expand All @@ -45,9 +48,9 @@ COPY . .

# COPY dockerfileconfig/config /root/.cargo/config

RUN cargo build --release
RUN cargo build --target x86_64-unknown-linux-musl --release

FROM debian:buster-slim
FROM alpine


# RUN sed -i "s@http://deb.debian.org@https://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list
Expand Down

0 comments on commit 41dee90

Please sign in to comment.