-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade python and node versions, use pip-tools for dependency freezing
- Loading branch information
Showing
13 changed files
with
10,766 additions
and
8,070 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
ARG PYTHON | ||
FROM debian:10 | ||
FROM python:3.10 | ||
|
||
MAINTAINER Freesound [email protected] | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
ENV PYTHONUNBUFFERED=1 | ||
|
||
|
@@ -13,15 +13,10 @@ RUN apt-get update \ | |
gosu \ | ||
pkg-config \ | ||
procps \ | ||
python3-dev \ | ||
python3-pip \ | ||
python3-setuptools \ | ||
python3-wheel \ | ||
wget \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN adduser -q --gecos "" --disabled-password fsweb | ||
RUN ln -s /usr/bin/python3 /usr/bin/python | ||
|
||
COPY entrypoint.sh /usr/local/bin | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM debian:10 | ||
|
||
MAINTAINER Freesound [email protected] | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
ENV PYTHONUNBUFFERED=1 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM freesound:2023-01-py2 | ||
FROM freesound:2023-07-py2 | ||
|
||
RUN mkdir /code | ||
RUN mkdir /tag_recommendation_models | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
all: | ||
docker build -t freesound:2023-01-py2 -f Dockerfile.py2.base . | ||
docker build -t freesound:2023-01 -f Dockerfile.base . | ||
docker build -t freesound:2023-07-py2 -f Dockerfile.py2.base . | ||
docker build -t freesound:2023-07 -f Dockerfile.base . | ||
|
||
.PHONY: all |
Oops, something went wrong.