Skip to content

Commit 23602a5

Browse files
created Docker container for Sauce Connect Proxy
1 parent e081187 commit 23602a5

File tree

8 files changed

+1164
-0
lines changed

8 files changed

+1164
-0
lines changed

.editorconfig

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
9+
indent_style = space
10+
indent_size = 4
11+
12+
end_of_line = lf
13+
charset = utf-8
14+
trim_trailing_whitespace = true
15+
insert_final_newline = true
16+
17+
[{.babelrc,.eslintrc,.codeclimate.yml,.travis.yml,*.json,.eslintrc.js}]
18+
indent_size = 2

.github/workflows/main.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "PR Checks"
2+
on: [pull_request, push]
3+
4+
jobs:
5+
check_pr:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v1
9+
10+
- name: "Install Dependencies"
11+
run: npm install
12+
13+
- name: "Run Test"
14+
run: npm test

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [1.0.0] - 2019-09-25
8+
9+
### Added
10+
- N/A
11+
12+
### Changed
13+
- Initial release
14+
15+
### Removed
16+
- N/A
17+
18+
[1.0.0]: https://github.com/joelwmale/sauce-connect-action/compare/1.0.0...1.0.0

Dockerfile

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
FROM frolvlad/alpine-glibc
2+
3+
LABEL version="1.0.0"
4+
LABEL repository="http://github.com/saucelabs/sauce-connect-action"
5+
LABEL homepage="http://github.com/saucelabs/sauce-connect-action"
6+
LABEL maintainer="Christian Bromann <christian@saucelabs.com>"
7+
LABEL "com.github.actions.name"="Sauce Connect Proxy Action"
8+
LABEL "com.github.actions.description"="A GitHub action to launch Sauce Connect Proxy"
9+
LABEL "com.github.actions.icon"="server"
10+
LABEL "com.github.actions.color"="green"
11+
12+
ENV SAUCE_CONNECT_VERSION 4.5.4
13+
14+
WORKDIR /usr/local/sauce-connect
15+
16+
RUN apk add --no-cache libstdc++
17+
RUN apk add --no-cache --virtual .build-deps binutils-gold g++ curl gcc gnupg libgcc linux-headers
18+
19+
RUN wget https://saucelabs.com/downloads/sc-$SAUCE_CONNECT_VERSION-linux.tar.gz -O - | tar -xz
20+
21+
WORKDIR /usr/local/sauce-connect/sc-$SAUCE_CONNECT_VERSION-linux
22+
23+
ENV PATH /usr/local/sauce-connect/sc-$SAUCE_CONNECT_VERSION-linux/bin:$PATH
24+
25+
ENTRYPOINT ["sc"]
26+
27+
EXPOSE 4445
28+
EXPOSE 8032
29+
30+
CMD ["--version"]

0 commit comments

Comments
 (0)