mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 12:02:07 +03:00
Use bullseye-slim for migration Dockerfile
Closes #154 Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
edfed001de
commit
cb2d8bac1d
@ -1,12 +1,12 @@
|
||||
# syntax = docker/dockerfile:1.2
|
||||
|
||||
FROM rust as builder
|
||||
FROM rust:1.55-bullseye as builder
|
||||
WORKDIR app
|
||||
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,target=./target \
|
||||
cargo install sqlx-cli --root=/app --target-dir=/app/target --version 0.5.7
|
||||
|
||||
FROM debian:buster-slim as runtime
|
||||
FROM debian:bullseye-slim as runtime
|
||||
RUN apt-get update; \
|
||||
apt-get install -y --no-install-recommends libssl1.1
|
||||
WORKDIR app
|
||||
|
Loading…
Reference in New Issue
Block a user