Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Use cimg/base May 2020 image. #18

Merged
merged 1 commit into from May 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/config.yml
Expand Up @@ -34,7 +34,7 @@ workflows:
jobs:
build:
docker:
- image: cimg/base:2019.10
- image: cimg/base:2020.05
steps:
- checkout
- setup_remote_docker
Expand All @@ -44,7 +44,7 @@ jobs:

publish:
docker:
- image: cimg/base:2019.10
- image: cimg/base:2020.05
steps:
- checkout
- setup_remote_docker
Expand Down
15 changes: 3 additions & 12 deletions core18/Dockerfile
@@ -1,14 +1,12 @@
# vim:set ft=dockerfile:

# Ubuntu 18.04 based image to match the core18 snap
FROM cimg/base:2019.11
FROM cimg/base:2020.05

LABEL maintainer="Ricardo N Feliciano (FelicianoTech) <Ricardo@Feliciano.Tech>"

RUN apt-get update && apt-get install -y \
locales \
squashfs-tools \
sudo && \
squashfs-tools && \
rm -rf /var/lib/apt/lists/*

# Manually install the core snap, a dependency of the snapcraft snap
Expand All @@ -32,20 +30,13 @@ RUN curl -L $(curl -H "X-Ubuntu-Series: 16" "https://api.snapcraft.io/api/v1/sna
# Install the Snapcraft runner
COPY snapcraft-wrapper /snap/bin/snapcraft

# Generate locale
RUN locale-gen en_US.UTF-8

# Set the proper environment
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV PATH=/snap/bin:$PATH

WORKDIR /root/project

# This run step is normally bad to have by itself however without it, users of
# this image will need to manually run `apt-get update` before they can build
# a majority of snaps. This increases build times which isn't good in CI.
# The echo statement allows us to break the cache for this step more easily
# while also providing context.
RUN apt-get update && echo "Apt index last updated January 12, 2020 at the earliest."
RUN apt-get update && echo "Apt index last updated May the 4th be with you, 2020 at the earliest."