|
1 | | -FROM cloudposse/build-harness:0.39.0 as build-harness |
| 1 | +FROM cloudposse/build-harness:1.3.0 as build-harness |
2 | 2 |
|
3 | | -FROM cloudposse/geodesic:0.135.0 |
| 3 | +FROM cloudposse/geodesic:1.2.1-alpine |
4 | 4 |
|
5 | 5 | RUN apk add --update dialog libqrencode |
6 | 6 |
|
7 | 7 | ENV DOCKER_IMAGE="vanvalenlab/kiosk-console" |
8 | 8 | ENV DOCKER_TAG="latest" |
9 | 9 |
|
10 | | -# Geodesic banner |
| 10 | +# Banner is what is displayed at startup and on every command line |
| 11 | +# in order to distinguish this image from other similar images |
11 | 12 | ENV BANNER="deepcell" |
12 | 13 | ENV BANNER_FONT="Larry 3D 2.flf" |
13 | 14 |
|
14 | | -# Disable cloudposse motd |
| 15 | +# Disable message of the day |
15 | 16 | ENV MOTD_URL="" |
16 | 17 |
|
| 18 | +# Shell customization |
| 19 | +# options for `less`. `R` allows ANSI color codes to be displayed while stripping out |
| 20 | +# other control codes that can cause `less` to mess up the screen formatting |
| 21 | +ENV LESS=R |
| 22 | + |
| 23 | +# Enable `direnv` |
| 24 | +# TODO: Use preferring YAML configuration files instead. |
| 25 | +ENV DIRENV_ENABLED=true |
| 26 | + |
17 | 27 | # Silence make |
18 | 28 | ENV MAKE="make -s" |
19 | 29 |
|
@@ -50,6 +60,9 @@ ENV GCP_TRAINING_GPU_TYPE="nvidia-tesla-v100" |
50 | 60 | ENV GKE_MACHINE_TYPE="n1-standard-1" |
51 | 61 | ENV GPU_MACHINE_TYPE="n1-highmem-2" |
52 | 62 | ENV CONSUMER_MACHINE_TYPE="n1-standard-2" |
| 63 | +# gcp auth plugin is deprecated as of k8s 1.22, use the gke auth plugin instead |
| 64 | +# https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke |
| 65 | +ENV USE_GKE_GCLOUD_AUTH_PLUGIN="false" |
53 | 66 |
|
54 | 67 | # Deployment config |
55 | 68 | ENV CLOUD_PROVIDER="" |
@@ -78,4 +91,4 @@ COPY rootfs/ / |
78 | 91 | # Enable the menu |
79 | 92 | RUN ln -s /usr/local/bin/menu.sh /etc/profile.d/ΩΩ.menu.sh |
80 | 93 |
|
81 | | -WORKDIR /conf/ |
| 94 | +ENV GEODESIC_WORKDIR=/conf |
0 commit comments