mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Removing latest from dockerfile.
This commit is contained in:
parent
de3bce3c0f
commit
37c0f751d0
5
docker/dev/Dockerfile
vendored
5
docker/dev/Dockerfile
vendored
@ -1,4 +1,5 @@
|
|||||||
FROM node:10-jessie as node
|
FROM node:10-jessie as node
|
||||||
|
|
||||||
WORKDIR /app/ui
|
WORKDIR /app/ui
|
||||||
|
|
||||||
# Cache deps
|
# Cache deps
|
||||||
@ -9,7 +10,7 @@ RUN yarn install --pure-lockfile
|
|||||||
COPY ui /app/ui
|
COPY ui /app/ui
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
FROM rust:latest as rust
|
FROM rust:1.37 as rust
|
||||||
|
|
||||||
# Install musl
|
# Install musl
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
@ -34,7 +35,7 @@ RUN RUSTFLAGS=-Clinker=musl-gcc cargo build --frozen --release --target=x86_64-u
|
|||||||
# Get diesel-cli on there just in case
|
# Get diesel-cli on there just in case
|
||||||
# RUN cargo install diesel_cli --no-default-features --features postgres
|
# RUN cargo install diesel_cli --no-default-features --features postgres
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:3.10
|
||||||
|
|
||||||
# Install libpq for postgres
|
# Install libpq for postgres
|
||||||
RUN apk add libpq
|
RUN apk add libpq
|
||||||
|
Loading…
Reference in New Issue
Block a user