Skip to content

Commit

Permalink
use our ubuntu base for certstrap + cf-acceptance-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
whi-tw committed Oct 6, 2022
1 parent 017f269 commit d45eb2d
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 d45eb2d

Please sign in to comment.