0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 22:18:23 -05:00
websurfx/dev.Dockerfile
dependabot[bot] 85684daf1b
build(deps): bump rust from 1.75.0-alpine3.18 to 1.76.0-alpine3.18
Bumps rust from 1.75.0-alpine3.18 to 1.76.0-alpine3.18.

---
updated-dependencies:
- dependency-name: rust
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 22:48:25 +00:00

16 lines
378 B
Docker

# Create Builder image
FROM --platform=$BUILDPLATFORM rust:1.76.0-alpine3.18
# Install required dependencies
RUN apk add --no-cache alpine-sdk musl-dev g++ make libcrypto3 libressl-dev perl build-base
RUN cargo install cargo-watch --locked
# Create project directory
RUN mkdir -p /project
WORKDIR /project
ENV RUSTFLAGS="-C target-feature=-crt-static"
ENTRYPOINT ["cargo"]