Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #4027 from tbille/upgrade-to-focal
Browse files Browse the repository at this point in the history
Upgrade to focal
  • Loading branch information
tbille authored Apr 23, 2020
2 parents de2233d + e7af75f commit 02c18d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
defaults: &defaults
docker:
- image: canonicalwebteam/dev
- image: canonicalwebteam/dev:v1.6.4
environment:
working_directory: ~/project

Expand Down
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:bionic
FROM ubuntu:focal

# Set up environment
ENV LANG C.UTF-8
Expand All @@ -7,9 +7,6 @@ WORKDIR /srv
# System dependencies
# Node ppa provided by: https://github.com/nodesource/distributions
RUN apt-get update && \
apt-get install curl --yes && \
curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
apt-get update && \
apt-get install --yes build-essential python3-dev python3-pip

# Import code, install code dependencies
Expand All @@ -23,9 +20,9 @@ ADD entrypoint entrypoint
ADD permanent-redirects.yaml permanent-redirects.yaml
RUN pip3 install -r requirements.txt

ARG TALISKER_REVISION_ID
RUN test -n "${TALISKER_REVISION_ID}"
ENV TALISKER_REVISION_ID "${TALISKER_REVISION_ID}"
ARG BUILD_ID
RUN test -n "${BUILD_ID}"
ENV TALISKER_REVISION_ID "${BUILD_ID}"

# Setup commands to run server
ENTRYPOINT ["./entrypoint"]
Expand Down

0 comments on commit 02c18d2

Please sign in to comment.