Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM ubuntu:16.04

# Update repos and install dependencies
RUN apt-get update \
&& apt-get -y upgrade \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not run apt-get upgrade in docker, use a new version of image instead, eg. Ubuntu:18.04.

&& apt-get -y install build-essential libsqlite3-dev zlib1g-dev
&& apt-get -y install build-essential libsqlite3-dev zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove apt cache, which make the docker image smaller and cleaner.


# Create a directory and copy in all files
RUN mkdir -p /tmp/tippecanoe-src
Expand Down