Skip to content

Commit

Permalink
Init commit for Alibaba Cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
haoshuwei committed Apr 18, 2019
0 parents commit 846736d
Show file tree
Hide file tree
Showing 1,295 changed files with 478,959 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/dist

# OSX leaves these everywhere on SMB shares
._*

# OSX trash
.DS_Store

# Eclipse files
.classpath
.project
.settings/**

# Files generated by JetBrains IDEs, e.g. IntelliJ IDEA
.idea/
*.iml

# Vscode files
.vscode

# Emacs save files
*~
\#*\#
.\#*

# Vim-related files
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist

# cscope-related files
cscope.*

# Mercurial files
**/.hg
**/.hg*

# Vagrant
.vagrant

# User cluster configs
.kubeconfig

.tags*

# make-related metadata
/.make/

# Godeps workspace
/Godeps/_workspace

/bazel-*
*.pyc
16 changes: 16 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Configuration for https://goreleaser.com/
project_name: authenticator

builds:
- binary: ack-ram-authenticator
main: ./cmd/ack-ram-authenticator/
goos:
- darwin
- linux
- windows
goarch:
- amd64
env:
- CGO_ENABLED=0
ldflags:
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2017 by the contributors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

FROM alpine:3.7
RUN apk add --update ca-certificates
COPY dist/linux_amd64/ack-ram-authenticator /
ENTRYPOINT ["/ack-ram-authenticator"]
Loading

0 comments on commit 846736d

Please sign in to comment.