File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM rust:slim AS rust-utils
2
2
# Install rust helper programs
3
3
# ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
4
4
env CARGO_INSTALL_ROOT=/tmp/
5
- RUN cargo install exa bat ripgrep typos-cli
5
+ RUN cargo install exa bat ripgrep typos-cli watchexec-cli
6
6
7
7
FROM ubuntu AS go
8
8
@@ -160,14 +160,18 @@ RUN apt-get update --quiet && apt-get install --yes \
160
160
podman \
161
161
skopeo \
162
162
fish \
163
- gh \
164
163
unzip \
165
164
zstd && \
166
165
# Delete package cache to avoid consuming space in layer
167
166
apt-get clean && \
168
167
# Configure FIPS-compliant policies
169
168
update-crypto-policies --set FIPS
170
169
170
+ # See https://github.com/cli/cli/issues/6175#issuecomment-1235984381 for proof
171
+ # the apt repository is unreliable
172
+ RUN curl -L https://github.com/cli/cli/releases/download/v2.14.7/gh_2.14.7_linux_amd64.deb -o gh.deb && \
173
+ dpkg -i gh.deb
174
+
171
175
# Install frontend utilities
172
176
RUN apt-get update && \
173
177
# Node.js (from nodesource) and Yarn (from yarnpkg)
Original file line number Diff line number Diff line change 3
3
branch =$(shell git rev-parse --abbrev-ref HEAD)
4
4
build_tag =codercom/oss-dogfood:${branch}
5
5
6
- docker- build :
6
+ build :
7
7
DOCKER_BUILDKIT=1 docker build . -t ${build_tag}
8
8
9
- docker- push : docker- build
9
+ push : build
10
10
docker push ${build_tag}
You can’t perform that action at this time.
0 commit comments