forked from iFeelSmart/Tools4Dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (17 loc) · 755 Bytes
/
Dockerfile
File metadata and controls
25 lines (17 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ARG FEDORA_VERSION=34
FROM fedora:${FEDORA_VERSION} AS tools4dev-fedora
ARG T4D_FINAL_VERSION_SUFFIX
ARG T4D_BRANCH=develop
RUN dnf install -y zsh hostname util-linux-user jq git findutils libplist
WORKDIR /root
RUN bash -c "T4D_NATIVE=false SKIP_T4D_CLONE=true T4D_VERSION_SUFFIX=${T4D_FINAL_VERSION_SUFFIX} T4D_BRANCH=${T4D_BRANCH} $(curl -fsSL https://raw.githubusercontent.com/T4D-Suites/Tools4Dev/develop/Platforms/install.sh)"
WORKDIR /root/.tools4dev
# Clean .git repo if exist
RUN mkdir -p "src-devel/.git"
RUN rm -rf "src-devel/.git"
# Generating src-lts folder
RUN mv "src-devel" "src-lts"
RUN ln -sfvn "src-lts" "src"
RUN rm "src/.t4drc"
# Creating Archive
RUN tar -cvf tools4dev.tar src-lts bin completions team init src manifest.xml