mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-23 02:39:59 +08:00
Merge pull request #538 from TartanLeGrand/master
sshpass install and label
This commit is contained in:
commit
49b86bec9a
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
FROM sickcodes/docker-osx:latest
|
FROM sickcodes/docker-osx:latest
|
||||||
|
|
||||||
MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>
|
LABEL maintainer='https://twitter.com/sickcodes <https://sick.codes>'
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ RUN if [[ "${RANKMIRRORS}" ]]; then \
|
|||||||
; fi \
|
; fi \
|
||||||
; yes | pacman -Scc
|
; yes | pacman -Scc
|
||||||
|
|
||||||
RUN pacman -Syu xorg-server-xvfb wget xterm xorg-xhost xorg-xrandr sshpass --noconfirm \
|
RUN pacman -Syu xorg-server-xvfb wget xterm xorg-xhost xorg-xrandr --noconfirm \
|
||||||
&& if [[ "${SCROT}" ]]; then \
|
&& if [[ "${SCROT}" ]]; then \
|
||||||
pacman -Syu scrot base-devel --noconfirm \
|
pacman -Syu scrot base-devel --noconfirm \
|
||||||
&& git clone --recurse-submodules --depth 1 https://github.com/stolk/imcat.git \
|
&& git clone --recurse-submodules --depth 1 https://github.com/stolk/imcat.git \
|
||||||
@ -88,6 +88,9 @@ RUN pacman -Syu xorg-server-xvfb wget xterm xorg-xhost xorg-xrandr sshpass --noc
|
|||||||
; fi \
|
; fi \
|
||||||
; yes | pacman -Scc
|
; yes | pacman -Scc
|
||||||
|
|
||||||
|
RUN pacman -S sshpass --noconfirm \
|
||||||
|
&& yes | pacman -Scc
|
||||||
|
|
||||||
USER arch
|
USER arch
|
||||||
|
|
||||||
ENV USER arch
|
ENV USER arch
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
FROM sickcodes/docker-osx
|
FROM sickcodes/docker-osx
|
||||||
|
|
||||||
MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>
|
LABEL maintainer='https://twitter.com/sickcodes <https://sick.codes>'
|
||||||
|
|
||||||
SHELL ["/bin/bash", "-c"]
|
SHELL ["/bin/bash", "-c"]
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
FROM sickcodes/docker-osx:latest
|
FROM sickcodes/docker-osx:latest
|
||||||
|
|
||||||
MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>
|
LABEL maintainer='https://twitter.com/sickcodes <https://sick.codes>'
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
FROM sickcodes/docker-osx:latest
|
FROM sickcodes/docker-osx:latest
|
||||||
|
|
||||||
MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>
|
LABEL maintainer='https://twitter.com/sickcodes <https://sick.codes>'
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ RUN if [[ "${RANKMIRRORS}" ]]; then \
|
|||||||
# For taking screenshots of the Xfvb screen, useful during development.
|
# For taking screenshots of the Xfvb screen, useful during development.
|
||||||
ARG SCROT
|
ARG SCROT
|
||||||
|
|
||||||
RUN pacman -Syu xorg-server-xvfb wget xterm xorg-xhost xorg-xrandr sshpass --noconfirm \
|
RUN pacman -Syu xorg-server-xvfb wget xterm xorg-xhost xorg-xrandr --noconfirm \
|
||||||
&& if [[ "${SCROT}" ]]; then \
|
&& if [[ "${SCROT}" ]]; then \
|
||||||
pacman -Syu scrot base-devel --noconfirm \
|
pacman -Syu scrot base-devel --noconfirm \
|
||||||
&& git clone --recurse-submodules --depth 1 https://github.com/stolk/imcat.git \
|
&& git clone --recurse-submodules --depth 1 https://github.com/stolk/imcat.git \
|
||||||
@ -69,6 +69,9 @@ RUN pacman -Syu xorg-server-xvfb wget xterm xorg-xhost xorg-xrandr sshpass --noc
|
|||||||
; fi \
|
; fi \
|
||||||
; yes | pacman -Scc
|
; yes | pacman -Scc
|
||||||
|
|
||||||
|
RUN pacman -S sshpass --noconfirm \
|
||||||
|
&& yes | pacman -Scc
|
||||||
|
|
||||||
USER arch
|
USER arch
|
||||||
|
|
||||||
ENV USER arch
|
ENV USER arch
|
||||||
|
Loading…
Reference in New Issue
Block a user