Skip to content

Commit

Permalink
Merge pull request #662 from openedx/mtyaka/fix-dockerfile
Browse files Browse the repository at this point in the history
chore: Backport dockerfile updates
  • Loading branch information
mtyaka authored Aug 8, 2023
2 parents 2421ec2 + ddb43bf commit 66df03d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
20 changes: 13 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM ubuntu:bionic as app
LABEL maintainer="devops@edx.org"
LABEL maintainer="sre@edx.org"

# Packages installed:
# git
Expand All @@ -20,12 +20,18 @@ LABEL maintainer="devops@edx.org"
# MySQL-python for performance gains.

# If you add a package here please include a comment above describing what it is used for
RUN apt-get update && \
apt-get install -y software-properties-common && \
apt-add-repository -y ppa:deadsnakes/ppa && apt-get update && \
apt-get upgrade -qy && apt-get install language-pack-en locales git \
libmysqlclient-dev libssl-dev build-essential python3.8-dev python3.8-venv -qy && \
rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get -qy install --no-install-recommends \
language-pack-en \
locales \
python3.8 \
python3-pip \
python3.8-venv \
python3.8-dev \
libmysqlclient-dev \
libssl-dev \
build-essential \
git \
wget

ENV VIRTUAL_ENV=/venv
RUN python3.8 -m venv $VIRTUAL_ENV
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ click==8.1.3
# via pip-tools
packaging==23.0
# via build
pip-tools==6.13.0
pip-tools==7.1.0
# via -r requirements/pip-tools.in
pyproject-hooks==1.0.0
# via build
Expand Down

0 comments on commit 66df03d

Please sign in to comment.