This file contains hidden or 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
| FROM alpine:edge | |
| # tmux or screen or etc... | |
| RUN apk add --update bash tmux | |
| RUN install -d /root/.ssh -m 0700 | |
| RUN apk add --update openssh \ | |
| && rm -rf /tmp/* /var/cache/apk/* \ | |
| && sed -i s/PermitRootLogin.*/PermitRootLogin\ yes/ /etc/ssh/sshd_config \ | |
| && sed -i s/PasswordAuthentication.*/PasswordAuthentication\ yes/ /etc/ssh/sshd_config \ | |
| && sed -i s/#PermitUserEnvironment.*/PermitUserEnvironment\ yes/ /etc/ssh/sshd_config \ |
This file contains hidden or 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
| import android.util.Log | |
| import okhttp3.ResponseBody | |
| import retrofit2.Retrofit | |
| import okhttp3.mockwebserver.MockResponse | |
| import okhttp3.mockwebserver.MockWebServer | |
| import retrofit2.Call | |
| import retrofit2.http.GET | |
| import retrofit2.http.Headers | |
| import retrofit2.http.Query |