mirror of
https://github.com/creyD/autopep8_action.git
synced 2026-04-12 19:40:28 +02:00
Moved install commands to docker file
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
FROM python:3
|
||||
|
||||
RUN pip install --no-cache-dir -q --upgrade pip
|
||||
RUN pip install --no-cache-dir -q autopep8
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
@@ -21,8 +21,8 @@ EOF
|
||||
}
|
||||
|
||||
echo "Installing autopep8..."
|
||||
sudo pip install -q --upgrade pip
|
||||
sudo pip install -q autopep8
|
||||
pip install -q --upgrade pip
|
||||
pip install -q autopep8
|
||||
|
||||
echo "Running autopep8..."
|
||||
autopep8 -i -r $INPUT_CHECKPATH $INPUT_OPTIONS || echo "Problem running autopep8!"
|
||||
|
||||
Reference in New Issue
Block a user