-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
9 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
FROM ghcr.io/sillsdev/app-builders:latest as builder | ||
|
||
FROM --platform=linux/amd64 phusion/baseimage:jammy-1.0.1 | ||
LABEL maintainer="[email protected]" | ||
LABEL refreshed_at="2024-01-11" | ||
|
@@ -12,14 +14,26 @@ RUN apt-get update && apt-get install -y\ | |
pip install ansible &&\ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/* | ||
|
||
RUN mkdir -p /app-builders | ||
WORKDIR /app-builders | ||
|
||
COPY --from=builder / /app-builders/ | ||
|
||
#RUN tar -xvf /app-builders.tgz && rm /app-builders.tgz &&\ | ||
RUN chmod +x /app-builders/*.sh &&\ | ||
ln -s /app-builders/sab.sh /usr/local/bin/scripture-app-builder &&\ | ||
ln -s /app-builders/rab.sh /usr/local/bin/reading-app-builder &&\ | ||
ln -s /app-builders/dab.sh /usr/local/bin/dictionary-app-builder &&\ | ||
ln -s /app-builders/kab.sh /usr/local/bin/keyboard-app-builder | ||
|
||
COPY ansible /ansible | ||
WORKDIR /ansible | ||
|
||
# Clean up when done. (Preserve 'App Projects' directory!) | ||
RUN mkdir -p /etc/ansible && echo local > /etc/ansible/hosts &&\ | ||
ansible-playbook playbook.yml -c local &&\ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/* /tmp/*.* /App \Builder/Scripture\ Apps/App\ Projects/* /tmp/App\ Builder/* /root/App\ Builder/Scripture\ Apps/PWA\ Output | ||
|
||
# | ||
#COPY patch /patch | ||
#WORKDIR /patch | ||
# | ||
|
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