mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-24 13:45:32 +03:00
rust, flutter
This commit is contained in:
parent
b65193c2b2
commit
acdd4f9dd1
@ -7,7 +7,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
##################################################################
|
##################################################################
|
||||||
ENV BuildDocker true
|
ENV BuildDocker true
|
||||||
ENV GOPATH=/go
|
ENV GOPATH=/go
|
||||||
ENV PATH="${GOPATH}/bin:${PATH}"
|
ENV CARGOPATH=/root/.cargo
|
||||||
|
ENV FLUTTERPATH=/flutter
|
||||||
|
ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}"
|
||||||
ARG BUILDS_DIR=/builds
|
ARG BUILDS_DIR=/builds
|
||||||
ARG SRC_DIR=${BUILDS_DIR}/src
|
ARG SRC_DIR=${BUILDS_DIR}/src
|
||||||
ARG EXPORT_DIR=${BUILDS_DIR}/export
|
ARG EXPORT_DIR=${BUILDS_DIR}/export
|
||||||
@ -42,6 +44,9 @@ RUN apt-get update && \
|
|||||||
gcc-multilib \
|
gcc-multilib \
|
||||||
g++-multilib \
|
g++-multilib \
|
||||||
libxkbcommon-dev \
|
libxkbcommon-dev \
|
||||||
|
libsqlite3-dev \
|
||||||
|
liblzma-dev \
|
||||||
|
libgtk-3-dev \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
libfreetype6-dev \
|
libfreetype6-dev \
|
||||||
libegl1-mesa-dev \
|
libegl1-mesa-dev \
|
||||||
@ -105,6 +110,20 @@ RUN apt-get update && \
|
|||||||
gdb \
|
gdb \
|
||||||
strace
|
strace
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Rust compillers
|
||||||
|
##################################################################
|
||||||
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile complete --default-toolchain stable --verbose
|
||||||
|
RUN printf "\n--------------------------------\n$(cargo --version)\n--------------------------------\n\n"
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Flutter SDK
|
||||||
|
##################################################################
|
||||||
|
RUN git clone https://github.com/flutter/flutter.git -b stable /flutter
|
||||||
|
RUN flutter precache
|
||||||
|
RUN flutter config --no-analytics
|
||||||
|
RUN dart --disable-analytics
|
||||||
|
RUN printf "\n--------------------------------\n$(flutter --version)\n--------------------------------\n\n"
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# GO compillers
|
# GO compillers
|
||||||
|
@ -6,7 +6,7 @@ app:
|
|||||||
make clean
|
make clean
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker-compose build --compress --parallel
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
@ -7,7 +7,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
##################################################################
|
##################################################################
|
||||||
ENV BuildDocker true
|
ENV BuildDocker true
|
||||||
ENV GOPATH=/go
|
ENV GOPATH=/go
|
||||||
ENV PATH="${GOPATH}/bin:${PATH}"
|
ENV CARGOPATH=/root/.cargo
|
||||||
|
ENV FLUTTERPATH=/flutter
|
||||||
|
ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}"
|
||||||
ARG BUILDS_DIR=/builds
|
ARG BUILDS_DIR=/builds
|
||||||
ARG SRC_DIR=${BUILDS_DIR}/src
|
ARG SRC_DIR=${BUILDS_DIR}/src
|
||||||
ARG EXPORT_DIR=${BUILDS_DIR}/export
|
ARG EXPORT_DIR=${BUILDS_DIR}/export
|
||||||
@ -42,6 +44,9 @@ RUN apt-get update && \
|
|||||||
gcc-multilib \
|
gcc-multilib \
|
||||||
g++-multilib \
|
g++-multilib \
|
||||||
libxkbcommon-dev \
|
libxkbcommon-dev \
|
||||||
|
libsqlite3-dev \
|
||||||
|
liblzma-dev \
|
||||||
|
libgtk-3-dev \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
libfreetype6-dev \
|
libfreetype6-dev \
|
||||||
libegl1-mesa-dev \
|
libegl1-mesa-dev \
|
||||||
@ -105,6 +110,21 @@ RUN apt-get update && \
|
|||||||
gdb \
|
gdb \
|
||||||
strace
|
strace
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Rust compillers
|
||||||
|
##################################################################
|
||||||
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile complete --default-toolchain stable --verbose
|
||||||
|
RUN printf "\n--------------------------------\n$(cargo --version)\n--------------------------------\n\n"
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Flutter SDK
|
||||||
|
##################################################################
|
||||||
|
RUN git clone https://github.com/flutter/flutter.git -b stable /flutter
|
||||||
|
RUN flutter precache
|
||||||
|
RUN flutter config --no-analytics
|
||||||
|
RUN dart --disable-analytics
|
||||||
|
RUN printf "\n--------------------------------\n$(flutter --version)\n--------------------------------\n\n"
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# GO compillers
|
# GO compillers
|
||||||
##################################################################
|
##################################################################
|
||||||
|
@ -6,7 +6,7 @@ app:
|
|||||||
make clean
|
make clean
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker-compose build --compress --parallel
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
@ -7,7 +7,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
##################################################################
|
##################################################################
|
||||||
ENV BuildDocker true
|
ENV BuildDocker true
|
||||||
ENV GOPATH=/go
|
ENV GOPATH=/go
|
||||||
ENV PATH="${GOPATH}/bin:${PATH}"
|
ENV CARGOPATH=/root/.cargo
|
||||||
|
ENV FLUTTERPATH=/flutter
|
||||||
|
ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}"
|
||||||
ARG BUILDS_DIR=/builds
|
ARG BUILDS_DIR=/builds
|
||||||
ARG SRC_DIR=${BUILDS_DIR}/src
|
ARG SRC_DIR=${BUILDS_DIR}/src
|
||||||
ARG EXPORT_DIR=${BUILDS_DIR}/export
|
ARG EXPORT_DIR=${BUILDS_DIR}/export
|
||||||
@ -42,6 +44,9 @@ RUN apt-get update && \
|
|||||||
gcc-multilib \
|
gcc-multilib \
|
||||||
g++-multilib \
|
g++-multilib \
|
||||||
libxkbcommon-dev \
|
libxkbcommon-dev \
|
||||||
|
libsqlite3-dev \
|
||||||
|
liblzma-dev \
|
||||||
|
libgtk-3-dev \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
libfreetype6-dev \
|
libfreetype6-dev \
|
||||||
libegl1-mesa-dev \
|
libegl1-mesa-dev \
|
||||||
@ -106,6 +111,21 @@ RUN apt-get update && \
|
|||||||
gdb \
|
gdb \
|
||||||
strace
|
strace
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Rust compillers
|
||||||
|
##################################################################
|
||||||
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile complete --default-toolchain stable --verbose
|
||||||
|
RUN printf "\n--------------------------------\n$(cargo --version)\n--------------------------------\n\n"
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Flutter SDK
|
||||||
|
##################################################################
|
||||||
|
RUN git clone https://github.com/flutter/flutter.git -b stable /flutter
|
||||||
|
RUN flutter precache
|
||||||
|
RUN flutter config --no-analytics
|
||||||
|
RUN dart --disable-analytics
|
||||||
|
RUN printf "\n--------------------------------\n$(flutter --version)\n--------------------------------\n\n"
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# GO compillers
|
# GO compillers
|
||||||
##################################################################
|
##################################################################
|
||||||
|
@ -6,7 +6,7 @@ app:
|
|||||||
make clean
|
make clean
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker-compose build --compress --parallel
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
@ -7,7 +7,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
##################################################################
|
##################################################################
|
||||||
ENV BuildDocker true
|
ENV BuildDocker true
|
||||||
ENV GOPATH=/go
|
ENV GOPATH=/go
|
||||||
ENV PATH="${GOPATH}/bin:${PATH}"
|
ENV CARGOPATH=/root/.cargo
|
||||||
|
ENV FLUTTERPATH=/flutter
|
||||||
|
ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}"
|
||||||
ARG BUILDS_DIR=/builds
|
ARG BUILDS_DIR=/builds
|
||||||
ARG SRC_DIR=${BUILDS_DIR}/src
|
ARG SRC_DIR=${BUILDS_DIR}/src
|
||||||
ARG EXPORT_DIR=${BUILDS_DIR}/export
|
ARG EXPORT_DIR=${BUILDS_DIR}/export
|
||||||
@ -43,6 +45,9 @@ RUN apt-get update && \
|
|||||||
g++-multilib \
|
g++-multilib \
|
||||||
libxkbcommon-dev \
|
libxkbcommon-dev \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
|
libsqlite3-dev \
|
||||||
|
liblzma-dev \
|
||||||
|
libgtk-3-dev \
|
||||||
libfreetype6-dev \
|
libfreetype6-dev \
|
||||||
libegl1-mesa-dev \
|
libegl1-mesa-dev \
|
||||||
libgles2-mesa-dev \
|
libgles2-mesa-dev \
|
||||||
@ -106,6 +111,21 @@ RUN apt-get update && \
|
|||||||
gdb \
|
gdb \
|
||||||
strace
|
strace
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Rust compillers
|
||||||
|
##################################################################
|
||||||
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile complete --default-toolchain stable --verbose
|
||||||
|
RUN printf "\n--------------------------------\n$(cargo --version)\n--------------------------------\n\n"
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Flutter SDK
|
||||||
|
##################################################################
|
||||||
|
RUN git clone https://github.com/flutter/flutter.git -b stable /flutter
|
||||||
|
RUN flutter precache
|
||||||
|
RUN flutter config --no-analytics
|
||||||
|
RUN dart --disable-analytics
|
||||||
|
RUN printf "\n--------------------------------\n$(flutter --version)\n--------------------------------\n\n"
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# GO compillers
|
# GO compillers
|
||||||
##################################################################
|
##################################################################
|
||||||
|
@ -6,7 +6,7 @@ app:
|
|||||||
make clean
|
make clean
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker-compose build --compress --parallel
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
@ -7,7 +7,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
##################################################################
|
##################################################################
|
||||||
ENV BuildDocker true
|
ENV BuildDocker true
|
||||||
ENV GOPATH=/go
|
ENV GOPATH=/go
|
||||||
ENV PATH="${GOPATH}/bin:${PATH}"
|
ENV CARGOPATH=/root/.cargo
|
||||||
|
ENV FLUTTERPATH=/flutter
|
||||||
|
ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}"
|
||||||
ARG BUILDS_DIR=/builds
|
ARG BUILDS_DIR=/builds
|
||||||
ARG SRC_DIR=${BUILDS_DIR}/src
|
ARG SRC_DIR=${BUILDS_DIR}/src
|
||||||
ARG EXPORT_DIR=${BUILDS_DIR}/export
|
ARG EXPORT_DIR=${BUILDS_DIR}/export
|
||||||
@ -42,6 +44,9 @@ RUN apt-get update && \
|
|||||||
gcc-multilib \
|
gcc-multilib \
|
||||||
g++-multilib \
|
g++-multilib \
|
||||||
libxkbcommon-dev \
|
libxkbcommon-dev \
|
||||||
|
libsqlite3-dev \
|
||||||
|
liblzma-dev \
|
||||||
|
libgtk-3-dev \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
libfreetype6-dev \
|
libfreetype6-dev \
|
||||||
libegl1-mesa-dev \
|
libegl1-mesa-dev \
|
||||||
@ -105,6 +110,21 @@ RUN apt-get update && \
|
|||||||
gdb \
|
gdb \
|
||||||
strace
|
strace
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Rust compillers
|
||||||
|
##################################################################
|
||||||
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile complete --default-toolchain stable --verbose
|
||||||
|
RUN printf "\n--------------------------------\n$(cargo --version)\n--------------------------------\n\n"
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Flutter SDK
|
||||||
|
##################################################################
|
||||||
|
RUN git clone https://github.com/flutter/flutter.git -b stable /flutter
|
||||||
|
RUN flutter precache
|
||||||
|
RUN flutter config --no-analytics
|
||||||
|
RUN dart --disable-analytics
|
||||||
|
RUN printf "\n--------------------------------\n$(flutter --version)\n--------------------------------\n\n"
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# GO compillers
|
# GO compillers
|
||||||
##################################################################
|
##################################################################
|
||||||
|
@ -6,7 +6,7 @@ app:
|
|||||||
make clean
|
make clean
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker-compose build --compress --parallel
|
docker-compose build --compress --parallel --progress plain
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
docker-compose push
|
docker-compose push
|
||||||
|
Loading…
Reference in New Issue
Block a user