Skip to content

Commit

Permalink
Project code merge
Browse files Browse the repository at this point in the history
* Init commit

* Project refactoring

* Code refactoring, unit tests coverage

* Fix docker file. Packages update. Tests refactoring

* Added custom header for logging purposes

* Added graceful shodown

* Added devtools handler

* Added new routes. Code refactoring

* Added status handler

* README update

* Fixed README table

* README update

* Added defaultVersion support for browsers. Graceful shutdown prop update

* Fix typos in README

* Added config watcher, active session limits, status handler, logs handler. Fixed vnc handler error
  • Loading branch information
alcounit authored Nov 8, 2020
1 parent 216fff9 commit 781ad41
Show file tree
Hide file tree
Showing 16 changed files with 3,374 additions and 1 deletion.
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM golang:alpine AS builder

RUN apk add --quiet --no-cache build-base git

WORKDIR /src

ENV GO111MODULE=on

ADD go.* ./

RUN go mod download

ADD . .

RUN cd cmd/selenosis && \
go install -ldflags="-linkmode external -extldflags '-static' -s -w"


FROM scratch

COPY --from=builder /go/bin/selenosis /

ENTRYPOINT ["/selenosis"]
Loading

0 comments on commit 781ad41

Please sign in to comment.