-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release switches from helhum/ter-client to typo3/tailor. This allows us to use tokens instead of user/password
- Loading branch information
1 parent
bb591ec
commit 5462a6a
Showing
6 changed files
with
63 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: "Update Docker Images" | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
MoveTag: | ||
name: "Docker Image" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Docker Login | ||
run: docker login --username=${{ secrets.DOCKER_HUB_USERNAME }} --password=${{ secrets.DOCKER_HUB_PASSWORD }} | ||
|
||
- name: Docker Build | ||
run: docker build -t tomasnorre/typo3teruploader:latest Docker/ | ||
|
||
- name: Docker Push | ||
run: docker push tomasnorre/typo3teruploader:latest |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM composer:2 | ||
FROM bash:5 | ||
FROM php:7.4-alpine | ||
|
||
# copy from the images into the PHP Image | ||
COPY --from=composer /usr/bin/composer /usr/bin/composer | ||
COPY --from=bash /usr/local/bin/bash /usr/bin/bash | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
|
||
RUN apk update && apk upgrade && \ | ||
apk add bash git jq libxml2-dev libzip-dev icu-dev curl && \ | ||
rm -rf /var/cache/apk/* | ||
|
||
RUN docker-php-ext-install soap && \ | ||
docker-php-ext-install zip && \ | ||
docker-php-ext-configure intl && docker-php-ext-install intl | ||
|
||
RUN echo -e "Install typo3/tailor" && \ | ||
composer global require typo3/tailor --prefer-dist --no-progress --no-suggest | ||
|
||
RUN ln -nfs /root/.composer/vendor/typo3/tailor/bin/tailor /usr/bin/tailor | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
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,16 +1 @@ | ||
FROM composer:2 | ||
FROM bash:5 | ||
FROM php:7.4-alpine | ||
|
||
# copy from the images into the PHP Image | ||
COPY --from=composer /usr/bin/composer /usr/bin/composer | ||
COPY --from=bash /usr/local/bin/bash /usr/bin/bash | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
|
||
RUN apk update && apk upgrade && \ | ||
apk add bash git jq libxml2-dev && rm -rf /var/cache/apk/* | ||
|
||
RUN docker-php-ext-install soap | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] | ||
FROM tomasnorre/typo3teruploader:latest |
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