-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.Dockerfile
36 lines (29 loc) · 907 Bytes
/
build.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 2021-2024 Sean Kelleher. All rights reserved.
# Use of this source code is governed by an MIT
# licence that can be found in the LICENCE file.
FROM rust:1.83.0-bullseye
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN \
rustup component add \
clippy
RUN \
curl \
--fail \
--show-error \
--silent \
--location \
https://get.docker.com \
| VERSION=23.0.3 \
sh
# We create the `/.docker` directory manually because it's used by the latest
# version of `docker`, and we make it writeable by everyone so that mounted
# users can access `docker`.
RUN \
mkdir /.docker \
&& chmod 0777 /.docker
RUN \
cargo install \
--version=1.1.3 \
--locked \
just
ENV DOCK_DEFAULT_TEMPLATES_SOURCE git:https://github.com/ezanmoto/dock_init_templates.git:0.1:./templates