Coder Social home page Coder Social logo

txn2 / asws Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 6.0 2.63 MB

Another static web server, plus JSON REST API for exposing specified directory listings. Useful for download pages or listings asset for web applications.

License: MIT License

Go 69.93% HTML 4.04% Dockerfile 26.02%
docker-image golang static-site webserver

asws's People

Contributors

cjimti avatar dependabot[bot] avatar soufian044 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

asws's Issues

unable build docker image

Hi there I'm this getting when building the docker img
Sending build context to Docker daemon 19.33MB

Step 1/16 : FROM golang:1.11.5-alpine3.8 AS builder
 ---> 368fd204e427
Step 2/16 : RUN apk update  && apk add git
 ---> Using cache
 ---> 8c75b3fcb859
Step 3/16 : RUN mkdir -p /go/src  && mkdir -p /go/bin  && mkdir -p /go/pkg
 ---> Using cache
 ---> 1c8db09eec08
Step 4/16 : ENV GOPATH=/go
 ---> Using cache
 ---> 318742e0de6a
Step 5/16 : ENV PATH=$GOPATH/bin:$PATH
 ---> Using cache
 ---> 26f4f6f3a66f
Step 6/16 : ENV PROJECT=$GOPATH/src/gitlab.com/txn2/asws
 ---> Using cache
 ---> a7908d16d748
Step 7/16 : RUN mkdir -p $PROJECT
 ---> Using cache
 ---> d47f86778f7f
Step 8/16 : WORKDIR $PROJECT
 ---> Using cache
 ---> b49c129f280d
Step 9/16 : ADD . .
 ---> Using cache
 ---> 36966f4dccba
Step 10/16 : RUN go get github.com/json-iterator/go
 ---> Using cache
 ---> bd9116c1754b
Step 11/16 : RUN CGO_ENABLED=0 go build -tags=jsoniter -a -installsuffix cgo -o /go/bin/asws $PROJECT/cmd/asws.go
 ---> Using cache
 ---> 5a6abf469a77
Step 12/16 : FROM alpine:3.8
 ---> d2696274f894
Step 13/16 : RUN apk --no-cache add ca-certificates
 ---> Using cache
 ---> ee841d81d270
Step 14/16 : COPY --from=builder /go/bin/ops /bin/ops
COPY failed: stat /var/lib/docker/overlay2/6e40979668914914473afc16d109b71d3bba8bea326e7e03242c45a2682d42de/merged/go/bin/ops: no such file or directory

i belive there is something wrong in here maybe :

ENV GOPATH=/go
ENV PATH=$GOPATH/bin:$PATH
ENV PROJECT=$GOPATH/src/gitlab.com/txn2/asws

what could be wrong ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.