Skip to content

Commit

Permalink
Merge pull request #250 from alphagov/dogfood_our_ubuntu_image
Browse files Browse the repository at this point in the history
Dogfood our ubuntu image
  • Loading branch information
whi-tw authored Oct 6, 2022
2 parents b4b0b1a + d45eb2d commit 681f645
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
9 changes: 4 additions & 5 deletions certstrap/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM ubuntu:20.04
FROM ghcr.io/alphagov/paas/ubuntu:main

ENV GIT_COMMIT bd8b02aa8c1b81bc5cfc070722a1a894a348f00a
ENV CERTSTRAP_VERSION 1.2.0

RUN apt update && apt install -y openssl curl ca-certificates wget \
&& wget -O certstrap https://github.com/square/certstrap/releases/download/v${CERTSTRAP_VERSION}/certstrap-${CERTSTRAP_VERSION}-linux-amd64 \
&& chmod +x certstrap \
&& cp certstrap /usr/local/bin/
RUN wget -O certstrap https://github.com/square/certstrap/releases/download/v${CERTSTRAP_VERSION}/certstrap-${CERTSTRAP_VERSION}-linux-amd64 \
&& chmod +x certstrap \
&& cp certstrap /usr/local/bin/
28 changes: 14 additions & 14 deletions cf-acceptance-tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM ubuntu:xenial

RUN \
apt-get update && \
apt-get -y install \
build-essential \
wget \
curl \
openssh-client \
unzip \
python-pip \
jq \
git fossil mercurial bzr subversion \
&& rm -rf /var/lib/apt/lists/*
FROM ghcr.io/alphagov/paas/ubuntu:main

RUN apt update \
&& apt install -y \
build-essential \
openssh-client \
unzip \
python-pip \
jq \
git \
fossil \
mercurial \
bzr \
subversion

ENV GOPATH /go
ENV PATH /go/bin:/usr/local/go/bin:$PATH
Expand Down

0 comments on commit 681f645

Please sign in to comment.